class Chaussettes::Effect::Gain
Represents a gain effect
Constants
- TYPE_MAP
Attributes
commands[R]
Public Class Methods
new(db, *opts)
click to toggle source
# File lib/chaussettes/effect/gain.rb, line 18 def initialize(db, *opts) @commands = [ 'gain' ] @commands.concat(opts.map { |opt| TYPE_MAP.fetch(opt) }) @commands << db @commands.freeze end