Class: Xberg::LinkMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLinkMetadata

Returns a new instance of LinkMetadata.

Parameters:

  • href: (String)
  • text: (String)
  • title: (String)
  • link_type: (LinkType)
  • rel: (Array[String])


1441
# File 'sig/types.rbs', line 1441

def initialize: (href: String, text: String, ?title: String, link_type: LinkType, rel: Array[String]) -> void

Instance Attribute Details

#hrefString (readonly)

Returns the value of attribute href.

Returns:

  • (String)


1435
1436
1437
# File 'sig/types.rbs', line 1435

def href
  @href
end

Returns the value of attribute link_type.

Returns:



1438
1439
1440
# File 'sig/types.rbs', line 1438

def link_type
  @link_type
end

#relArray[String] (readonly)

Returns the value of attribute rel.

Returns:

  • (Array[String])


1439
1440
1441
# File 'sig/types.rbs', line 1439

def rel
  @rel
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1436
1437
1438
# File 'sig/types.rbs', line 1436

def text
  @text
end

#titleString (readonly)

Returns the value of attribute title.

Returns:

  • (String)


1437
1438
1439
# File 'sig/types.rbs', line 1437

def title
  @title
end