Method: Textpow::SyntaxProxy#method_missing

Defined in:
lib/textpow/syntax.rb

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



15
16
17
18
19
20
21
# File 'lib/textpow/syntax.rb', line 15

def method_missing method, *args, &block
  if @proxy ||= proxy
    @proxy.send(method, *args, &block)
  else
    STDERR.puts "Failed proxying #{@proxy_name}.#{method}(#{args.join(', ')})" if $DEBUG
  end
end