Module: Ruck::UGen::UGenBase
- Included in:
- Generators::ADSR, Generators::Delay, Generators::Gain, Generators::Noise, Generators::Ramp, Generators::Step, Generators::WavIn, Generators::WavOut, InChannel, Oscillator
- Defined in:
- lib/ruck/ugen/ugen.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
56 57 58 |
# File 'lib/ruck/ugen/ugen.rb', line 56 def name @name end |
Instance Method Details
#to_s ⇒ Object
50 51 52 53 54 |
# File 'lib/ruck/ugen/ugen.rb', line 50 def to_s "<#{self.class}" + (name ? "(#{name})" : "") + " #{attr_names.map { |a| "#{a}:#{send a}" }.join " "}>" end |