Exception: CouchShell::Commandline::UnknownOptError
- 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) ⇒ UnknownOptError
constructor
A new instance of UnknownOptError.
- #message ⇒ Object
Constructor Details
#initialize(optname) ⇒ UnknownOptError
Returns a new instance of UnknownOptError.
28 29 30 |
# File 'lib/couch-shell/commandline.rb', line 28 def initialize(optname) @optname = optname end |
Instance Attribute Details
#optname ⇒ Object (readonly)
Returns the value of attribute optname.
26 27 28 |
# File 'lib/couch-shell/commandline.rb', line 26 def optname @optname end |
Instance Method Details
#message ⇒ Object
32 33 34 |
# File 'lib/couch-shell/commandline.rb', line 32 def "unkown option `#{optname}'" end |