Class: StillActive::Options
- Inherits:
-
Object
- Object
- StillActive::Options
- Defined in:
- lib/still_active/options.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#options_parser ⇒ Object
Returns the value of attribute options_parser.
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
- #parse!(args) ⇒ Object
Constructor Details
#initialize ⇒ Options
Returns a new instance of Options.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/still_active/options.rb', line 11 def initialize @options = {} @options_parser = OptionParser.new do |opts| (opts) (opts) add_gemfile_option(opts) add_gems_option(opts) add_ignore_option(opts) (opts) (opts) (opts) (opts) (opts) (opts) end end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
9 10 11 |
# File 'lib/still_active/options.rb', line 9 def @options end |
#options_parser ⇒ Object
Returns the value of attribute options_parser.
9 10 11 |
# File 'lib/still_active/options.rb', line 9 def @options_parser end |
Instance Method Details
#parse!(args) ⇒ Object
28 29 30 31 32 |
# File 'lib/still_active/options.rb', line 28 def parse!(args) .parse!(args) end |