Module: Saruman::XmlBuilderBase

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

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



494
495
496
497
498
499
500
# File 'lib/saruman.rb', line 494

def method_missing(meth, *args, &block)
  if(@generator.respond_to?(meth.to_sym, true))
    @generator.send(meth.to_sym, *args)
  else
    super
  end
end