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: (enum_InlineType)
  • content: (String)
  • attributes: (Attributes)
  • metadata: (Hash[String, String])


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

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

Instance Attribute Details

#attributesAttributes? (readonly)

Returns the value of attribute attributes.

Returns:



1342
1343
1344
# File 'sig/types.rbs', line 1342

def attributes
  @attributes
end

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


1341
1342
1343
# File 'sig/types.rbs', line 1341

def content
  @content
end

#element_typeenum_InlineType (readonly)

Returns the value of attribute element_type.

Returns:

  • (enum_InlineType)


1340
1341
1342
# File 'sig/types.rbs', line 1340

def element_type
  @element_type
end

#metadataHash[String, String]? (readonly)

Returns the value of attribute metadata.

Returns:

  • (Hash[String, String], nil)


1343
1344
1345
# File 'sig/types.rbs', line 1343

def 
  @metadata
end