Exception: Angus::Remote::PathArgumentError
- Inherits:
-
Exception
- Object
- Exception
- Angus::Remote::PathArgumentError
- Defined in:
- lib/angus/remote/exceptions.rb
Instance Method Summary collapse
-
#initialize(current, expected) ⇒ PathArgumentError
constructor
A new instance of PathArgumentError.
- #message ⇒ Object
Constructor Details
#initialize(current, expected) ⇒ PathArgumentError
Returns a new instance of PathArgumentError.
49 50 51 52 |
# File 'lib/angus/remote/exceptions.rb', line 49 def initialize(current, expected) @current = current @expected = expected end |
Instance Method Details
#message ⇒ Object
54 55 56 |
# File 'lib/angus/remote/exceptions.rb', line 54 def "Wrong number of arguments (#@current for #@expected)" end |