Class: Xberg::MarkdownLink

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMarkdownLink

Returns a new instance of MarkdownLink.

Parameters:

  • text: (String)
  • url: (String)


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

def initialize: (?text: String, ?url: String) -> void

Instance Attribute Details

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1571
1572
1573
# File 'sig/types.rbs', line 1571

def text
  @text
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


1572
1573
1574
# File 'sig/types.rbs', line 1572

def url
  @url
end