Class: Browsable::HtmlExtractor::AssetRef

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



17
18
19
# File 'lib/browsable/html_extractor.rb', line 17

def kind
  @kind
end

#resolved_pathObject (readonly)

Returns the value of attribute resolved_path

Returns:

  • (Object)

    the current value of resolved_path



17
18
19
# File 'lib/browsable/html_extractor.rb', line 17

def resolved_path
  @resolved_path
end

#urlObject (readonly)

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



17
18
19
# File 'lib/browsable/html_extractor.rb', line 17

def url
  @url
end