Module: Motion::Component::Callbacks

Included in:
Motion::Component
Defined in:
lib/motion/component/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#bind(method) ⇒ Object



10
11
12
# File 'lib/motion/component/callbacks.rb', line 10

def bind(method)
  Callback.new(self, method)
end

#stable_instance_identifier_for_callbacksObject



14
15
16
# File 'lib/motion/component/callbacks.rb', line 14

def stable_instance_identifier_for_callbacks
  @_stable_instance_identifier_for_callbacks ||= SecureRandom.uuid
end