Class: Ast::Merge::Detector::Mergeable::ExtractedRegion
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::Detector::Mergeable::ExtractedRegion
- Defined in:
- lib/ast/merge/detector/mergeable.rb
Overview
Extracted region with its content and placeholder.
Instance Attribute Summary collapse
-
#config ⇒ Config
The configuration that matched this region.
-
#merged_content ⇒ String?
The merged content (set after merging).
-
#placeholder ⇒ String
The placeholder used in the document.
-
#region ⇒ Region
The detected region.
Instance Attribute Details
#config ⇒ Config
The configuration that matched this region
86 87 88 |
# File 'lib/ast/merge/detector/mergeable.rb', line 86 def config @config end |
#merged_content ⇒ String?
The merged content (set after merging)
86 87 88 |
# File 'lib/ast/merge/detector/mergeable.rb', line 86 def merged_content @merged_content end |
#placeholder ⇒ String
The placeholder used in the document
86 87 88 |
# File 'lib/ast/merge/detector/mergeable.rb', line 86 def placeholder @placeholder end |
#region ⇒ Region
The detected region
86 87 88 |
# File 'lib/ast/merge/detector/mergeable.rb', line 86 def region @region end |