Exception: CouchShell::Commandline::OptArgMissingError
- Defined in:
- lib/couch-shell/commandline.rb
Instance Attribute Summary collapse
-
#optname ⇒ Object
readonly
Returns the value of attribute optname.
Instance Method Summary collapse
-
#initialize(optname) ⇒ OptArgMissingError
constructor
A new instance of OptArgMissingError.
- #message ⇒ Object
Constructor Details
#initialize(optname) ⇒ OptArgMissingError
Returns a new instance of OptArgMissingError.
42 43 44 |
# File 'lib/couch-shell/commandline.rb', line 42 def initialize(optname) @optname = optname end |
Instance Attribute Details
#optname ⇒ Object (readonly)
Returns the value of attribute optname.
40 41 42 |
# File 'lib/couch-shell/commandline.rb', line 40 def optname @optname end |
Instance Method Details
#message ⇒ Object
46 47 48 |
# File 'lib/couch-shell/commandline.rb', line 46 def "option `#{optname}' requires argument" end |