Sha256: 1291ffd354d6cd3ae3f7282e5c3b4561bc59311cc48896cd03208cd181cbf0e9

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

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