Parent

Methods

Object

Public Instance Methods

Forgery(forgery, method=nil, *args) click to toggle source

Alternate Forgery api, see spec/forgery_spec.rb for examples.

# File lib/forgery/forgery_api.rb, line 2
def Forgery(forgery, method=nil, *args)
  klass = Forgery::Extend("Forgery::#{Forgery::Extend(forgery.to_s).camelize}").constantize
  if method
    klass.send(method, *args)
  else
    klass
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.