Class: Musterb::Chain

Inherits:
Object
  • Object
show all
Includes:
ExtractValues
Defined in:
lib/musterb/chain.rb

Instance Method Summary collapse

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