Exception: Coltrane::Theory::WrongKeywordsError
- Inherits:
-
BadConstructorError
- Object
- StandardError
- TheoryError
- BadConstructorError
- Coltrane::Theory::WrongKeywordsError
- Defined in:
- lib/coltrane/theory/errors.rb
Instance Method Summary collapse
-
#initialize(msg) ⇒ WrongKeywordsError
constructor
A new instance of WrongKeywordsError.
Constructor Details
#initialize(msg) ⇒ WrongKeywordsError
Returns a new instance of WrongKeywordsError.
20 21 22 |
# File 'lib/coltrane/theory/errors.rb', line 20 def initialize(msg) super "Use one of the following set of keywords: #{msg}" end |