Method: Bundler::Checksum::Source#to_s
- Defined in:
- lib/bundler/checksum.rb
#to_s ⇒ Object
phrased so that the usual string format is grammatically correct
rake (10.3.2) sha256=abc123 from #{to_s}
138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/bundler/checksum.rb', line 138 def to_s case type when :lock "the lockfile CHECKSUMS at #{location}" when :gem "the gem at #{location}" when :api "the API at #{location}" else "#{location} (#{type})" end end |