Method: Bundler::LazySpecification#method_missing

Defined in:
lib/bundler/lazy_specification.rb

#method_missing(method, *args, &blk) ⇒ Object (private)



137
138
139
140
141
142
143
# File 'lib/bundler/lazy_specification.rb', line 137

def method_missing(method, *args, &blk)
  raise "LazySpecification has not been materialized yet (calling :#{method} #{args.inspect})" unless @specification

  return super unless respond_to?(method)

  @specification.send(method, *args, &blk)
end