Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/observables/extensions/object.rb
Instance Method Summary collapse
Instance Method Details
#can_be_observable? ⇒ Boolean
2 3 4 |
# File 'lib/observables/extensions/object.rb', line 2 def can_be_observable? respond_to?(:make_observable) end |
#observable? ⇒ Boolean
6 7 8 |
# File 'lib/observables/extensions/object.rb', line 6 def observable? kind_of?(Observables::Base) end |