Class: XeroCLI::OptionsParser
- Inherits:
-
Object
- Object
- XeroCLI::OptionsParser
- Defined in:
- lib/xero_cli/options_parser.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize ⇒ OptionsParser
constructor
A new instance of OptionsParser.
- #xero ⇒ Object
Constructor Details
#initialize ⇒ OptionsParser
Returns a new instance of OptionsParser.
5 6 7 8 |
# File 'lib/xero_cli/options_parser.rb', line 5 def initialize @options = {} @opt = OptionParser.new end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/xero_cli/options_parser.rb', line 3 def @options end |
Instance Method Details
#xero ⇒ Object
10 11 12 13 14 15 |
# File 'lib/xero_cli/options_parser.rb', line 10 def xero separators binds opt end |