Exception: CouchShell::Commandline::ArgNotAllowedError
- Defined in:
- lib/couch-shell/commandline.rb
Instance Attribute Summary collapse
-
#arg ⇒ Object
readonly
Returns the value of attribute arg.
Instance Method Summary collapse
-
#initialize(arg) ⇒ ArgNotAllowedError
constructor
A new instance of ArgNotAllowedError.
- #message ⇒ Object
Constructor Details
#initialize(arg) ⇒ ArgNotAllowedError
Returns a new instance of ArgNotAllowedError.
14 15 16 |
# File 'lib/couch-shell/commandline.rb', line 14 def initialize(arg) @arg = arg end |
Instance Attribute Details
#arg ⇒ Object (readonly)
Returns the value of attribute arg.
12 13 14 |
# File 'lib/couch-shell/commandline.rb', line 12 def arg @arg end |
Instance Method Details
#message ⇒ Object
18 19 20 |
# File 'lib/couch-shell/commandline.rb', line 18 def "no argument allowed, argument `#{arg}' was given" end |