Object
at load time we do not know all patterns / all syntaxes so we store a proxy, that tries to find the correct syntax at runtime
# File lib/textpow/syntax.rb, line 10 def initialize(included_name, syntax) @syntax = syntax @included_name = included_name end
# 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
[Validate]
Generated with the Darkfish Rdoc Generator 2.