Class: Browsable::HtmlExtractor::AssetRef
- Inherits:
-
Data
- Object
- Data
- Browsable::HtmlExtractor::AssetRef
- Defined in:
- lib/browsable/html_extractor.rb
Overview
url — the raw href/src as written in the HTML resolved_path — absolute on-disk path, or nil when AssetResolver missed kind — :css or :js
Instance Attribute Summary collapse
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#resolved_path ⇒ Object
readonly
Returns the value of attribute resolved_path.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Attribute Details
#kind ⇒ Object (readonly)
Returns the value of attribute kind
17 18 19 |
# File 'lib/browsable/html_extractor.rb', line 17 def kind @kind end |
#resolved_path ⇒ Object (readonly)
Returns the value of attribute resolved_path
17 18 19 |
# File 'lib/browsable/html_extractor.rb', line 17 def resolved_path @resolved_path end |
#url ⇒ Object (readonly)
Returns the value of attribute url
17 18 19 |
# File 'lib/browsable/html_extractor.rb', line 17 def url @url end |