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


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

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)


1318
1319
1320
# File 'sig/types.rbs', line 1318

def href
  @href
end

Returns the value of attribute link_type.

Returns:



1321
1322
1323
# File 'sig/types.rbs', line 1321

def link_type
  @link_type
end

#relArray[String] (readonly)

Returns the value of attribute rel.

Returns:

  • (Array[String])


1322
1323
1324
# File 'sig/types.rbs', line 1322

def rel
  @rel
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1319
1320
1321
# File 'sig/types.rbs', line 1319

def text
  @text
end

#titleString (readonly)

Returns the value of attribute title.

Returns:

  • (String)


1320
1321
1322
# File 'sig/types.rbs', line 1320

def title
  @title
end