Class: Ast::Merge::RegionMergeable::ExtractedRegion
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::RegionMergeable::ExtractedRegion
- Defined in:
- lib/ast/merge/region_mergeable.rb
Overview
Extracted region with its content and placeholder.
Instance Attribute Summary collapse
-
#config ⇒ RegionConfig
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 ⇒ RegionConfig
The configuration that matched this region
82 83 84 |
# File 'lib/ast/merge/region_mergeable.rb', line 82 def config @config end |
#merged_content ⇒ String?
The merged content (set after merging)
82 83 84 |
# File 'lib/ast/merge/region_mergeable.rb', line 82 def merged_content @merged_content end |
#placeholder ⇒ String
The placeholder used in the document
82 83 84 |
# File 'lib/ast/merge/region_mergeable.rb', line 82 def placeholder @placeholder end |
#region ⇒ Region
The detected region
82 83 84 |
# File 'lib/ast/merge/region_mergeable.rb', line 82 def region @region end |