Module: Navigable::Observer::ClassMethods

Defined in:
lib/navigable/observer.rb

Instance Method Summary collapse

Instance Method Details

#observes(key) ⇒ Object



22
23
24
# File 'lib/navigable/observer.rb', line 22

def observes(key)
  corresponds_to(key, TYPE)
end

#observes_all_commandsObject



18
19
20
# File 'lib/navigable/observer.rb', line 18

def observes_all_commands
  corresponds_to_all(TYPE)
end