Module: Chains
- Defined in:
- lib/chains.rb,
lib/chains/version.rb,
lib/chains/with_chain.rb
Defined Under Namespace
Classes: WithChain
Constant Summary collapse
- VERSION =
'0.0.1'
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.chain(object, block) ⇒ Object
18 19 20 |
# File 'lib/chains.rb', line 18 def chain(object, block) WithChain::chain_object(object, block) end |
.with(object, block) ⇒ Object
14 15 16 |
# File 'lib/chains.rb', line 14 def with(object, block) WithChain::with_object(object, block) end |
Instance Method Details
#chain(block) ⇒ Object
9 10 11 |
# File 'lib/chains.rb', line 9 def chain(block) WithChain::chain_object(self, block) end |
#with(block) ⇒ Object
5 6 7 |
# File 'lib/chains.rb', line 5 def with(block) WithChain::with_object(self, block) end |