Class: Flowhook::Options
- Inherits:
-
OptionParser
- Object
- OptionParser
- Flowhook::Options
- Defined in:
- lib/flowhook/options.rb
Overview
rubocop:disable Metrics/LineLength The option parser
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
- #parse!(args = ARGV) ⇒ Object
Constructor Details
#initialize ⇒ Options
Returns a new instance of Options.
7 8 9 10 11 12 |
# File 'lib/flowhook/options.rb', line 7 def initialize super end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/flowhook/options.rb', line 5 def @options end |
Instance Method Details
#parse!(args = ARGV) ⇒ Object
14 15 16 17 |
# File 'lib/flowhook/options.rb', line 14 def parse!(args = ARGV) super end |