Class: Chainy::Config
- Inherits:
-
Object
- Object
- Chainy::Config
- Defined in:
- lib/chainy/config.rb
Constant Summary collapse
- DEFAULT_CHAIN_METHOD_PREFIX =
'with'
Class Method Summary collapse
Class Method Details
.configure {|_self| ... } ⇒ Object
5 6 7 |
# File 'lib/chainy/config.rb', line 5 def configure yield self if block_given? end |
.prefix ⇒ Object
9 10 11 |
# File 'lib/chainy/config.rb', line 9 def prefix @prefix ||= DEFAULT_CHAIN_METHOD_PREFIX end |
.prefix=(prefix) ⇒ Object
13 14 15 |
# File 'lib/chainy/config.rb', line 13 def prefix=(prefix) @prefix = prefix end |