Sha256: e1cd7d688cda5b406e0a37b9be05b9aae595fd1b4a70c1ffdb60ab3afbc3f3dc

Contents?: true

Size: 316 Bytes

Versions: 2

Compression:

Stored size: 316 Bytes

Contents

module Joybox
  module Actions

    class Spawn

      def self.defaults
        {
          actions:[]
        }
      end

      def self.with(options = {})

        options = options.nil? ? defaults : defaults.merge!(options)

        CCSpawn.actionWithArray(options[:actions])
      end
      
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
joybox-1.0.0 motion/joybox/actions/spawn.rb
joybox-0.0.6 motion/joybox/actions/spawn.rb