Class: CustomElementsManifestParser::DataTypes::SourceReference

Inherits:
BaseStruct
  • Object
show all
Defined in:
lib/custom_elements_manifest_parser/data_types/source_reference.rb

Overview

Gets passed an href to an absolute URL to the source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#hrefString

Returns - An absolute URL to the source (ie. a GitHub URL).

Returns:

  • (String)
    • An absolute URL to the source (ie. a GitHub URL).


10
# File 'lib/custom_elements_manifest_parser/data_types/source_reference.rb', line 10

attribute :href, Types::Strict::String

Instance Method Details

#visit(parser:) ⇒ Object



12
13
14
# File 'lib/custom_elements_manifest_parser/data_types/source_reference.rb', line 12

def visit(parser:)
  self
end