Method: PSD::LazyExecute#method_missing

Defined in:
lib/psd/lazy_execute.rb

#method_missing(method, *args, &block) ⇒ Object



38
39
40
41
# File 'lib/psd/lazy_execute.rb', line 38

def method_missing(method, *args, &block)
  load! if !loaded? && !@passthru.include?(method.to_sym)
  @obj.send(method, *args, &block)
end