Sha256: 31c62e962c07203a4179184a063e8c6e1b335037ae238bf90dfd2369d348dafc
Contents?: true
Size: 358 Bytes
Versions: 2
Compression:
Stored size: 358 Bytes
Contents
module WhirledPeas module Animator class DebugConsumer def add_frameset(frameset) require 'json' frameset.each_frame do |frame, duration, args| puts [frame, "duration=#{duration}", *(JSON.generate(args) unless args.empty?)].join(' ') end end def process # no op end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
whirled_peas-0.13.0 | lib/whirled_peas/animator/debug_consumer.rb |
whirled_peas-0.12.0 | lib/whirled_peas/animator/debug_consumer.rb |