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])


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

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)


1400
1401
1402
# File 'sig/types.rbs', line 1400

def href
  @href
end

Returns the value of attribute link_type.

Returns:



1403
1404
1405
# File 'sig/types.rbs', line 1403

def link_type
  @link_type
end

#relArray[String] (readonly)

Returns the value of attribute rel.

Returns:

  • (Array[String])


1404
1405
1406
# File 'sig/types.rbs', line 1404

def rel
  @rel
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1401
1402
1403
# File 'sig/types.rbs', line 1401

def text
  @text
end

#titleString (readonly)

Returns the value of attribute title.

Returns:

  • (String)


1402
1403
1404
# File 'sig/types.rbs', line 1402

def title
  @title
end