Class: Eslint::Changes::Options
- Inherits:
-
Object
- Object
- Eslint::Changes::Options
- Defined in:
- lib/eslint/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
14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/eslint/changes/options.rb', line 14 def parse! OptionParser.new do |opts| opts. = 'Usage: eslint-changes [options]' parse_report!(opts) parse_commit!(opts) parse_quiet!(opts) parse_help!(opts) parse_version!(opts) parse_base_branch!(opts) end.parse! args end |