Class: Xberg::DjotLink

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDjotLink

Returns a new instance of DjotLink.

Parameters:

  • url: (String)
  • text: (String)
  • title: (String)
  • attributes: (Attributes)


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

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

Instance Attribute Details

#attributesAttributes? (readonly)

Returns the value of attribute attributes.

Returns:



550
551
552
# File 'sig/types.rbs', line 550

def attributes
  @attributes
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


548
549
550
# File 'sig/types.rbs', line 548

def text
  @text
end

#titleString? (readonly)

Returns the value of attribute title.

Returns:

  • (String, nil)


549
550
551
# File 'sig/types.rbs', line 549

def title
  @title
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


547
548
549
# File 'sig/types.rbs', line 547

def url
  @url
end