Module: CanCanCanJs
- Defined in:
- lib/cancancan_js.rb,
lib/cancancan_js/engine.rb,
lib/cancancan_js/export.rb,
lib/cancancan_js/configuration.rb
Overview
Defined Under Namespace
Modules: Export Classes: Configuration, Engine
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.
11 12 13 |
# File 'lib/cancancan_js.rb', line 11 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
22 23 24 |
# File 'lib/cancancan_js.rb', line 22 def self.configure yield(configuration) end |
.reset ⇒ Object
18 19 20 |
# File 'lib/cancancan_js.rb', line 18 def self.reset @configuration = Configuration.new end |