Module: Navigable::Observable

Defined in:
lib/navigable/observable.rb

Constant Summary collapse

OBSERVERS_NOT_IMPLEMENTED_MESSAGE =
'Class must implement `observers` method.'
RESOLVER_NOT_IMPLEMENTED_MESSAGE =
'Class must implement `resolver` method.'

Instance Method Summary collapse

Instance Method Details

#observersObject

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/navigable/observable.rb', line 11

def observers
  raise NotImplementedError.new(OBSERVERS_NOT_IMPLEMENTED_MESSAGE)
end

#resolverObject

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/navigable/observable.rb', line 15

def resolver
  raise NotImplementedError.new(RESOLVER_NOT_IMPLEMENTED_MESSAGE)
end