method

current_is_switch_formatted?

ruby latest stable - Class: Bundler::Thor::Options

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

current_is_switch_formatted?()
protected

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/parser/options.rb, line 145
    def current_is_switch_formatted?
      case peek
      when LONG_RE, SHORT_RE, EQ_RE, SHORT_NUM, SHORT_SQ_RE
        true
      else
        false
      end
    end