Class: Thor::Options
- Inherits:
-
Object
- Object
- Thor::Options
- Defined in:
- lib/vendorificator/cli.rb
Overview
Monkey patch over github.com/wycats/thor/pull/298
Instance Method Summary collapse
Instance Method Details
#_orig_current_is_switch? ⇒ Object
206 |
# File 'lib/vendorificator/cli.rb', line 206 alias_method :_orig_current_is_switch?, :current_is_switch? |
#current_is_switch? ⇒ Boolean
207 208 209 210 211 |
# File 'lib/vendorificator/cli.rb', line 207 def current_is_switch? rv = _orig_current_is_switch? @parsing_options = false if !rv[0] && @stop_on_unknown && @parsing_options rv end |