Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/respondable.rb
Instance Method Summary collapse
Instance Method Details
#===(other) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/respondable.rb', line 20 def ===(other) if other.is_a?(Respondable) other._?(self) else self == other end end |