Class: SlackProgress::OptionsParser
- Inherits:
-
Object
- Object
- SlackProgress::OptionsParser
- Defined in:
- lib/slack-progress/options_parser.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ OptionsParser
constructor
A new instance of OptionsParser.
- #parse ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ OptionsParser
4 5 6 |
# File 'lib/slack-progress/options_parser.rb', line 4 def initialize( = {}) = end |
Instance Method Details
#parse ⇒ Object
8 9 10 11 12 13 |
# File 'lib/slack-progress/options_parser.rb', line 8 def parse OpenStruct.new( app_options: , formatting_options: , ) end |