Class: Rubocop::Changes::Options
- Inherits:
-
Object
- Object
- Rubocop::Changes::Options
- Defined in:
- lib/rubocop/changes/options.rb
Defined Under Namespace
Classes: Options
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
- #parse! ⇒ Object
Constructor Details
Instance Method Details
#parse! ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/rubocop/changes/options.rb', line 20 def parse! OptionParser.new do |opts| opts. = 'Usage: rubocop-changes [options]' parse_formatter!(opts) parse_commit!(opts) parse_quiet!(opts) parse_auto_correct!(opts) parse_help!(opts) parse_version!(opts) parse_base_branch!(opts) end.parse! args end |