method

peek

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.

peek()
public

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/parser/options.rb, line 62
    def peek
      return super unless @parsing_options

      result = super
      if result == OPTS_END
        shift
        @parsing_options = false
        super
      else
        result
      end
    end