Module: Navigable::Observable

Defined in:
lib/navigable/observable.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



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

def self.extended(base)
  base.extend(ClassMethods)
  base.include(InstanceMethods)
end