module ProfileWizard::Models

Public Instance Methods

profile_wizard(profile_attr, profile_schema, opts = {}) click to toggle source
# File lib/profile_wizard/models.rb, line 7
def profile_wizard(profile_attr, profile_schema, opts = {})
  define_method(profile_attr) do
    @profile_attr ||= ProfileWizard::Models::Profile.new profile_attr, profile_schema, self
  end
end