Class: XeroCLI::Options
- Inherits:
-
Object
- Object
- XeroCLI::Options
- Includes:
- Helper
- Defined in:
- lib/xero_cli/options.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options) ⇒ Options
constructor
A new instance of Options.
- #on ⇒ Object
Methods included from Helper
Constructor Details
#initialize(options) ⇒ Options
Returns a new instance of Options.
7 8 9 |
# File 'lib/xero_cli/options.rb', line 7 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/xero_cli/options.rb', line 5 def @options end |
Instance Method Details
#on ⇒ Object
15 16 17 |
# File 'lib/xero_cli/options.rb', line 15 def on parse_datetime([:on]) end |