Sha256: 26ee28bb5cc24fb26f4e271cf13cc0eb495e316d99552367dda9a92fe967a56f
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
module Joybox module Actions class Animate def self.defaults { animation: nil } end def self.with(options = {}) options = options.nil? ? defaults : defaults.merge!(options) CCAnimate.actionWithAnimation(options[:animation]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.0.0 | motion/joybox/actions/animate.rb |
joybox-0.0.6 | motion/joybox/actions/animate.rb |