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)


150
151
152
# File 'lib/bundler/rubygems_ext.rb', line 150

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