method

is?

ruby latest stable - Class: Bundler::Thor::Shell::Basic

Method not available on this version

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

is?(value)
protected

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/shell/basic.rb, line 329
      def is?(value) #:nodoc:
        value = value.to_s

        if value.size == 1
          /\A#{value}\z/
        else
          /\A(#{value}|#{value[0, 1]})\z/
        end
      end