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.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/still_active/options.rb', line 12 def initialize @options = {} @options_parser = OptionParser.new do |opts| (opts) (opts) add_gemfile_option(opts) add_gems_option(opts) add_sbom_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.
10 11 12 |
# File 'lib/still_active/options.rb', line 10 def @options end |
#options_parser ⇒ Object
Returns the value of attribute options_parser.
10 11 12 |
# File 'lib/still_active/options.rb', line 10 def @options_parser end |
Instance Method Details
#parse!(args) ⇒ Object
30 31 32 33 34 |
# File 'lib/still_active/options.rb', line 30 def parse!(args) .parse!(args) end |