Class: Xberg::InlineElement

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInlineElement

Returns a new instance of InlineElement.

Parameters:

  • element_type: (InlineType)
  • content: (String)
  • metadata: (Hash[String, String])


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

def initialize: (element_type: InlineType, content: String, ?metadata: Hash[String, String]) -> void

Instance Attribute Details

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


845
846
847
# File 'sig/types.rbs', line 845

def content
  @content
end

#element_typeInlineType (readonly)

Returns the value of attribute element_type.

Returns:



844
845
846
# File 'sig/types.rbs', line 844

def element_type
  @element_type
end

#metadataHash[String, String] (readonly)

Returns the value of attribute metadata.

Returns:

  • (Hash[String, String])


846
847
848
# File 'sig/types.rbs', line 846

def 
  @metadata
end