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)


169
170
171
# File 'lib/bundler/rubygems_ext.rb', line 169

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