Exception: Drydock::InvalidArgument
- Defined in:
- lib/drydock.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
Instance Method Summary collapse
-
#initialize(args) ⇒ InvalidArgument
constructor
A new instance of InvalidArgument.
- #message ⇒ Object
Constructor Details
#initialize(args) ⇒ InvalidArgument
Returns a new instance of InvalidArgument.
359 360 361 362 |
# File 'lib/drydock.rb', line 359 def initialize(args) @args = args || [] super end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
357 358 359 |
# File 'lib/drydock.rb', line 357 def args @args end |
Instance Method Details
#message ⇒ Object
364 365 366 |
# File 'lib/drydock.rb', line 364 def "Unknown option: #{@args.join(", ")}" end |