lib/bundler/lazy_specification.rb in bundler-1.0.0.beta.2 vs lib/bundler/lazy_specification.rb in bundler-1.0.0.beta.3
- old
+ new
@@ -50,9 +50,13 @@
def respond_to?(*args)
super || @specification.respond_to?(*args)
end
+ def to_s
+ "#{name} (#{version})"
+ end
+
private
def method_missing(method, *args, &blk)
if Gem::Specification.new.respond_to?(method)
raise "LazySpecification has not been materialized yet (calling :#{method} #{args.inspect})" unless @specification
\ No newline at end of file