Sha256: 4a95b0e0a7cbeeb2be8e8df7cc9927a48ce5a93f413e976f2479c8fde1c596b9
Contents?: true
Size: 310 Bytes
Versions: 2
Compression:
Stored size: 310 Bytes
Contents
module Joybox module Actions class Delay def self.defaults { by: 1 } end def self.time(options = {}) options = options.nil? ? defaults : defaults.merge!(options) CCDelayTime.actionWithDuration(options[:by]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.1.1 | motion/joybox/actions/delay.rb |
joybox-1.1.0 | motion/joybox/actions/delay.rb |