Class: RVC::RawOptionParser
- Inherits:
-
Object
- Object
- RVC::RawOptionParser
- Defined in:
- lib/rvc/option_parser.rb
Instance Attribute Summary collapse
-
#applicable ⇒ Object
readonly
Returns the value of attribute applicable.
Instance Method Summary collapse
- #educate ⇒ Object
- #has_options? ⇒ Boolean
-
#initialize(cmd) ⇒ RawOptionParser
constructor
A new instance of RawOptionParser.
- #parse(args) ⇒ Object
Constructor Details
#initialize(cmd) ⇒ RawOptionParser
Returns a new instance of RawOptionParser.
168 169 170 171 |
# File 'lib/rvc/option_parser.rb', line 168 def initialize cmd @cmd = cmd @applicable = [] end |
Instance Attribute Details
#applicable ⇒ Object (readonly)
Returns the value of attribute applicable.
166 167 168 |
# File 'lib/rvc/option_parser.rb', line 166 def applicable @applicable end |
Instance Method Details
#educate ⇒ Object
181 182 183 |
# File 'lib/rvc/option_parser.rb', line 181 def educate # XXX end |
#has_options? ⇒ Boolean
177 178 179 |
# File 'lib/rvc/option_parser.rb', line 177 def false end |
#parse(args) ⇒ Object
173 174 175 |
# File 'lib/rvc/option_parser.rb', line 173 def parse args [args, {}] end |