Method: ESBify::Parser#initialize
- Defined in:
- lib/ESBify/parser.rb
#initialize(context = {}) ⇒ Parser
Returns a new instance of Parser.
19 20 21 22 23 24 25 |
# File 'lib/ESBify/parser.rb', line 19 def initialize(context = {}) @expectation = ::ESBify::Expectation.new @behavior = ::ESBify::Behavior.new @strategy = ::ESBify::Strategy.new @context = context end |