Sha256: 8864e42722320191e727d550c381102dc38a4b1afbed214436e97d3b2f21753f

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 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.1.1 motion/joybox/actions/animate.rb
joybox-1.1.0 motion/joybox/actions/animate.rb