Sha256: db521a437917456c66d9424e191b7231424e4b17696acf719ea3c3829241f667

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clomp-1.0.0 lib/clomp/track_builder.rb