Module: Metro::SceneAnimation

Extended by:
SceneAnimation
Included in:
SceneAnimation
Defined in:
lib/metro/animation/scene_animation.rb

Instance Method Summary collapse

Instance Method Details

#build(options, &block) ⇒ Object



8
9
10
11
12
# File 'lib/metro/animation/scene_animation.rb', line 8

def build(options,&block)
  animation = Metro::ImplicitAnimation.new options
  animation.on_complete(&block) if block
  animation
end