Module: Username
- Defined in:
- lib/username.rb,
lib/username/engine.rb,
lib/username/version.rb,
lib/username/configuration.rb,
app/models/concerns/username/model.rb,
app/models/concerns/username/model/devise.rb
Defined Under Namespace
Modules: Model Classes: Configuration, Engine
Constant Summary collapse
- VERSION =
'2.0.0'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
4 5 6 |
# File 'lib/username/configuration.rb', line 4 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
7 8 9 10 |
# File 'lib/username/configuration.rb', line 7 def self.configure self.configuration ||= Configuration.new yield configuration end |