Module: MuckProfiles
- Defined in:
- lib/muck-profiles/models/user.rb,
lib/muck-profiles/config.rb,
lib/muck-profiles/engine.rb,
lib/muck-profiles/models/profile.rb
Overview
include MuckProfiles::Models::MuckUser
Defined Under Namespace
Modules: Models Classes: Configuration, Engine
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
5 6 7 8 |
# File 'lib/muck-profiles/config.rb', line 5 def self.configuration # In case the user doesn't setup a configure block we can always return default settings: @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
10 11 12 13 |
# File 'lib/muck-profiles/config.rb', line 10 def self.configure self.configuration ||= Configuration.new yield(configuration) end |