Class: MotionWizard::AnimationStrategy::RightToLeft
- Inherits:
-
SlideAnimation
- Object
- BaseAnimationStrategy
- SlideAnimation
- MotionWizard::AnimationStrategy::RightToLeft
- Defined in:
- lib/motion-wizard/animation_strategy/right_to_left.rb
Instance Attribute Summary
Attributes inherited from SlideAnimation
Attributes inherited from BaseAnimationStrategy
#already_on_final_position, #duration
Instance Method Summary collapse
-
#initialize ⇒ RightToLeft
constructor
A new instance of RightToLeft.
Methods inherited from SlideAnimation
Methods inherited from BaseAnimationStrategy
#animate, #hide_view, #show_view
Constructor Details
#initialize ⇒ RightToLeft
Returns a new instance of RightToLeft.
4 5 6 7 |
# File 'lib/motion-wizard/animation_strategy/right_to_left.rb', line 4 def initialize super @direction = 1 end |