module FormObject::DelegateEverything

Public Instance Methods

method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/form_object.rb, line 90
def method_missing(method, *args, &block)
  if resource.respond_to?(method)
    resource.send(method, *args, &block)
  else
    super
  end
end
respond_to_missing?(method, include_all) click to toggle source
Calls superclass method
# File lib/form_object.rb, line 98
def respond_to_missing?(method, include_all)
  resource.respond_to?(method, include_all) || super
end