Class: ParameterSubstitution::Parser

Inherits:
Parslet::Parser
  • Object
show all
Defined in:
lib/parameter_substitution/parser.rb

Instance Method Summary collapse

Constructor Details

#initialize(parameter_start: "<", parameter_end: ">", allow_unmatched_parameter_end: false) ⇒ Parser

Returns a new instance of Parser.



13
14
15
16
17
18
# File 'lib/parameter_substitution/parser.rb', line 13

def initialize(parameter_start: "<", parameter_end: ">", allow_unmatched_parameter_end: false)
  @parameter_start = parameter_start
  @parameter_end = parameter_end
  @allow_unmatched_parameter_end = allow_unmatched_parameter_end
  super()
end