Module: ActsAsLockableBy
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/acts_as_lockable_by.rb,
lib/acts_as_lockable_by/version.rb,
lib/acts_as_lockable_by/lockable.rb
Defined Under Namespace
Modules: Lockable Classes: Configuration
Constant Summary collapse
- VERSION =
'0.1.12'
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.
12 13 14 |
# File 'lib/acts_as_lockable_by.rb', line 12 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
15 16 17 18 |
# File 'lib/acts_as_lockable_by.rb', line 15 def self.configure self.configuration ||= Configuration.new yield(configuration) end |