Exception: InevitableCacophony::Parser::UnknownBaseRhythm

Inherits:
Error
  • Object
show all
Defined in:
lib/inevitable_cacophony/parser/rhythms.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#baseObject

Returns the value of attribute base.



22
23
24
# File 'lib/inevitable_cacophony/parser/rhythms.rb', line 22

def base
  @base
end