Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop a duplicate definition warning #123

Merged
merged 1 commit into from
Nov 14, 2016

Commits on Nov 14, 2016

  1. Stop a duplicate definition warning

    When running ruby with `RUBYOPT="-w"` or with RSpec running with
    warnings turned on, these errors were being thrown:
    
    ```
    slack-ruby-client/lib/slack/real_time/concurrency/celluloid.rb:45: warning: method redefined; discarding old close
    ruby-2.3.1/lib/ruby/2.3.0/forwardable.rb:187: warning: previous definitionof close was here
    slack-ruby-client/lib/slack/real_time/concurrency/celluloid.rb:61: warning: method redefined; discarding old write
    ruby-2.3.1/lib/ruby/2.3.0/forwardable.rb:187: warning: previous definitionof write was here
    ```
    
    This change removes the delegators that were present, since the wrappers
    call them directly anyway.
    michaelherold committed Nov 14, 2016
    Configuration menu
    Copy the full SHA
    e862425 View commit details
    Browse the repository at this point in the history