Module: CreateValid::TestIntegration::InstanceMethods

Defined in:
lib/create_valid.rb

Instance Method Summary collapse

Instance Method Details

#method_missing_with_create_valid(method, *args) ⇒ Object



133
134
135
136
137
138
139
# File 'lib/create_valid.rb', line 133

def method_missing_with_create_valid(method, *args)
  if method.to_s =~ ::CreateValid::MAGIC_METHOD
    ::CreateValid::Factory.new(self).send(method, *args)
  else
    method_missing_without_create_valid(method, *args)
  end
end