Class: Gem::Requirement

Inherits:
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)


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

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