Sha256: cc1244b4e1370a9175696b31f6ae4888900147868099b83a18971ed7de37f040

Contents?: true

Size: 353 Bytes

Versions: 4

Compression:

Stored size: 353 Bytes

Contents

module Clomp
  class TrackBuilder < Array
    class << self
      def [](track_name:, track_options: {}, track_for: nil, track_type:, &block)
        Track.new(name: track_name, track_options: track_options, right: track_type, track_from: track_for, &block)
      end
    end
  end
end

# 9dd796f8b50c23addaf020473df0c0430c3f37f4a8383459106eb1d72401433e

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
clomp-0.1.0 lib/clomp/track_builder.rb
clomp-0.0.10 lib/clomp/track_builder.rb
clomp-0.0.9 lib/clomp/track_builder.rb
clomp-0.0.8 lib/clomp/track_builder.rb