Exception: InevitableCacophony::Parser::UnknownBaseRhythm
- Defined in:
- lib/inevitable_cacophony/parser/rhythms.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
Instance Method Summary collapse
-
#initialize(base) ⇒ UnknownBaseRhythm
constructor
A new instance of UnknownBaseRhythm.
Constructor Details
#initialize(base) ⇒ UnknownBaseRhythm
Returns a new instance of UnknownBaseRhythm.
16 17 18 19 20 |
# File 'lib/inevitable_cacophony/parser/rhythms.rb', line 16 def initialize(base) @base = base super("Could not find base rhythm #{base} for polyrhythm") end |
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base.
22 23 24 |
# File 'lib/inevitable_cacophony/parser/rhythms.rb', line 22 def base @base end |