Class: OptionParser
- Inherits:
-
Object
- Object
- OptionParser
- Defined in:
- lib/rdf/cli.rb
Instance Method Summary collapse
-
#args ⇒ Object
Arguments remaining after extracting options.
- #args=(value) ⇒ Object
-
#options ⇒ Object
Actual parsed options.
- #options=(value) ⇒ Object
Instance Method Details
#args ⇒ Object
Arguments remaining after extracting options
25 |
# File 'lib/rdf/cli.rb', line 25 def args; @args || []; end |
#args=(value) ⇒ Object
26 |
# File 'lib/rdf/cli.rb', line 26 def args=(value); @args = value; end |
#options ⇒ Object
Actual parsed options
21 |
# File 'lib/rdf/cli.rb', line 21 def ; || {}; end |
#options=(value) ⇒ Object
22 |
# File 'lib/rdf/cli.rb', line 22 def (value); = value; end |