Class: Gem::Requirement

Inherits:
Object
  • Object
show all
Defined in:
lib/bundler/rubygems_ext.rb

Instance Method Summary collapse

Instance Method Details

#none?Boolean

Backport of performance enhancement added to Rubygems 1.4

Returns:

  • (Boolean)


144
145
146
# File 'lib/bundler/rubygems_ext.rb', line 144

def none?
  @none ||= (to_s == ">= 0")
end