Module: Navigable::Observable::ClassMethods

Defined in:
lib/navigable/observable.rb

Instance Method Summary collapse

Instance Method Details

#result(*args) ⇒ Object



17
18
19
# File 'lib/navigable/observable.rb', line 17

def result(*args)
  @result_class = Navigable::Result.new(*args)
end

#result_classObject



21
22
23
# File 'lib/navigable/observable.rb', line 21

def result_class
  @result_class ||= Navigable::Result.new
end