Class: Browsable::HtmlExtractor::Extraction
- Inherits:
-
Data
- Object
- Data
- Browsable::HtmlExtractor::Extraction
- Defined in:
- lib/browsable/html_extractor.rb
Overview
The aggregated extraction result returned to the middleware.
Instance Attribute Summary collapse
-
#asset_paths ⇒ Object
readonly
Returns the value of attribute asset_paths.
-
#inline_blocks ⇒ Object
readonly
Returns the value of attribute inline_blocks.
Instance Method Summary collapse
-
#resolved_paths ⇒ Object
Just the resolved on-disk paths — the shape downstream callers want.
Instance Attribute Details
#asset_paths ⇒ Object (readonly)
Returns the value of attribute asset_paths
24 25 26 |
# File 'lib/browsable/html_extractor.rb', line 24 def asset_paths @asset_paths end |
#inline_blocks ⇒ Object (readonly)
Returns the value of attribute inline_blocks
24 25 26 |
# File 'lib/browsable/html_extractor.rb', line 24 def inline_blocks @inline_blocks end |
Instance Method Details
#resolved_paths ⇒ Object
Just the resolved on-disk paths — the shape downstream callers want.
26 27 28 |
# File 'lib/browsable/html_extractor.rb', line 26 def resolved_paths asset_paths.filter_map(&:resolved_path).uniq end |