Exception: Pharrell::InvalidOptionsError
- Inherits:
-
Exception
- Object
- Exception
- Pharrell::InvalidOptionsError
- Defined in:
- lib/pharrell/errors.rb
Instance Method Summary collapse
-
#initialize(opts) ⇒ InvalidOptionsError
constructor
A new instance of InvalidOptionsError.
- #message ⇒ Object
Constructor Details
#initialize(opts) ⇒ InvalidOptionsError
23 24 25 |
# File 'lib/pharrell/errors.rb', line 23 def initialize(opts) @opts = opts end |
Instance Method Details
#message ⇒ Object
27 28 29 |
# File 'lib/pharrell/errors.rb', line 27 def "Invalid options: #{@opts.join(" ")}" end |