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