Method: Bundler::LazySpecification#to_s

Defined in:
lib/bundler/lazy_specification.rb

#to_sObject



107
108
109
110
111
112
113
# File 'lib/bundler/lazy_specification.rb', line 107

def to_s
  @__to_s ||= if platform == Gem::Platform::RUBY || platform.nil?
    "#{name} (#{version})"
  else
    "#{name} (#{version}-#{platform})"
  end
end