Module: Chingu::Traits::Animation::ClassMethods

Defined in:
lib/chingu/traits/animation.rb

Instance Method Summary collapse

Instance Method Details

#initialize_trait(options = {}) ⇒ Object



40
41
42
# File 'lib/chingu/traits/animation.rb', line 40

def initialize_trait(options = {})
  trait_options[:animation] = {:directory => "media", :play => true, :delay => 100}.merge(options)
end