Method: Chaussettes::EffectChain#trim
- Defined in:
- lib/chaussettes/effect_chain.rb
#trim(*positions) ⇒ Object
50 51 52 53 54 55 56 57 58 |
# File 'lib/chaussettes/effect_chain.rb', line 50 def trim(*positions) if positions.empty? raise ArgumentError, 'you must specify at least one position for trim' end @commands << 'trim' @commands.concat(positions) self end |