Sha256: 349def6f49fcbededc1639bbd5300ab0bfbb43b447d214b1c76f1d591793446c
Contents?: true
Size: 523 Bytes
Versions: 1
Compression:
Stored size: 523 Bytes
Contents
module MotionWizard module AnimationStrategy class BaseAnimationStrategy attr_accessor :already_on_final_position, :duration def initialize @duration = 0.5 end def show_view(view, &after_block) @show_view = view @show_view_after_block = after_block end def hide_view(view, &after_block) @hide_view = view @hide_view_after_block = after_block end def animate raise "Subclass responsability" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
motion-wizard-0.1 | lib/motion-wizard/animation_strategy/base_animation_strategy.rb |