Class: CustomElementsManifestParser::DataTypes::SourceReference
- Inherits:
-
BaseStruct
- Object
- Dry::Struct
- BaseStruct
- CustomElementsManifestParser::DataTypes::SourceReference
- 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
-
#href ⇒ String
- An absolute URL to the source (ie. a GitHub URL).
Instance Method Summary collapse
Instance Attribute Details
#href ⇒ String
Returns - 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 |