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:



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

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

Instance Attribute Details

#element_typeElementType (readonly)

Returns the value of attribute element_type.

Returns:



1071
1072
1073
# File 'sig/types.rbs', line 1071

def element_type
  @element_type
end

#metadataElementMetadata (readonly)

Returns the value of attribute metadata.

Returns:



1073
1074
1075
# File 'sig/types.rbs', line 1073

def 
  @metadata
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1072
1073
1074
# File 'sig/types.rbs', line 1072

def text
  @text
end