Method: YamlPath::TreeBuilder#initialize
- Defined in:
- lib/yaml_path/tree_builder.rb
#initialize(yaml_path:, replace_proc:) ⇒ TreeBuilder
Returns a new instance of TreeBuilder.
23 24 25 26 27 28 29 |
# File 'lib/yaml_path/tree_builder.rb', line 23 def initialize(yaml_path:, replace_proc:) super() @yaml_path = yaml_path @replace_proc = replace_proc @path_stack = PathStack.new end |