Class: ParameterSubstitution::Parser
- Inherits:
-
Parslet::Parser
- Object
- Parslet::Parser
- ParameterSubstitution::Parser
- Defined in:
- lib/parameter_substitution/parser.rb
Instance Method Summary collapse
-
#initialize(parameter_start: "<", parameter_end: ">", allow_unmatched_parameter_end: false) ⇒ Parser
constructor
A new instance of Parser.
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 |