Class: Musterb::Chain
- Inherits:
-
Object
- Object
- Musterb::Chain
- Includes:
- ExtractValues
- Defined in:
- lib/musterb/chain.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ Chain
constructor
A new instance of Chain.
Methods included from ExtractValues
#[], #chain, new_context, #value
Constructor Details
#initialize(value) ⇒ Chain
Returns a new instance of Chain.
4 5 6 |
# File 'lib/musterb/chain.rb', line 4 def initialize(value) @context = new_context(value, Musterb::NullExtractor.new(nil)) end |