Module: SimpleRules::Configuration
- Included in:
- SimpleRules
- Defined in:
- lib/simple_rules/configuration.rb
Constant Summary collapse
- OPTION_NAMES =
Available options.
[ :raise_not_authorized ]
Instance Method Summary collapse
-
#configure {|_self| ... } ⇒ Object
A global configuration set via the block.
Instance Method Details
#configure {|_self| ... } ⇒ Object
A global configuration set via the block.
16 17 18 19 |
# File 'lib/simple_rules/configuration.rb', line 16 def configure yield self if block_given? self end |