Class: Browsable::Sources::Importmap::Pin
- Inherits:
-
Data
- Object
- Data
- Browsable::Sources::Importmap::Pin
- Defined in:
- lib/browsable/sources/importmap.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
23 24 25 |
# File 'lib/browsable/sources/importmap.rb', line 23 def name @name end |
#url ⇒ Object (readonly)
Returns the value of attribute url
23 24 25 |
# File 'lib/browsable/sources/importmap.rb', line 23 def url @url end |
Instance Method Details
#remote? ⇒ Boolean
24 |
# File 'lib/browsable/sources/importmap.rb', line 24 def remote? = url&.start_with?("http://", "https://") |