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


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

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)


786
787
788
# File 'sig/types.rbs', line 786

def content
  @content
end

#element_typeInlineType (readonly)

Returns the value of attribute element_type.

Returns:



785
786
787
# File 'sig/types.rbs', line 785

def element_type
  @element_type
end

#metadataHash[String, String] (readonly)

Returns the value of attribute metadata.

Returns:

  • (Hash[String, String])


787
788
789
# File 'sig/types.rbs', line 787

def 
  @metadata
end