Class: Xberg::Element

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeElement

Returns a new instance of Element.

Parameters:



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

def initialize: (element_type: ElementType, text: String, metadata: ElementMetadata) -> void

Instance Attribute Details

#element_typeElementType (readonly)

Returns the value of attribute element_type.

Returns:



1111
1112
1113
# File 'sig/types.rbs', line 1111

def element_type
  @element_type
end

#metadataElementMetadata (readonly)

Returns the value of attribute metadata.

Returns:



1113
1114
1115
# File 'sig/types.rbs', line 1113

def 
  @metadata
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1112
1113
1114
# File 'sig/types.rbs', line 1112

def text
  @text
end