Method: Forkforge::Handler#method_missing

Defined in:
lib/forkforge/dsl/handler.rb

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



13
14
15
16
17
18
19
20
# File 'lib/forkforge/dsl/handler.rb', line 13

def method_missing method, *args, &block
  if @handler.respond_to? method
    @handler.send(method, *args, &block)
    @delayed.clear
  else
    @delayed.unshift "#{method}"
  end
end