Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1232 from dpiddy/lazy_specification_to_ary
Browse files Browse the repository at this point in the history
Lazy specification to ary
  • Loading branch information
Andre Arko committed Jun 10, 2011
2 parents 2235f98 + 0ab5851 commit 50fd851
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bundler/lazy_specification.rb
Expand Up @@ -59,6 +59,8 @@ def to_s
private

def method_missing(method, *args, &blk)
return super if method == :to_ary

raise "LazySpecification has not been materialized yet (calling :#{method} #{args.inspect})" unless @specification

return super unless respond_to?(method)
Expand Down

0 comments on commit 50fd851

Please sign in to comment.