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:



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

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

Instance Attribute Details

#element_typeElementType (readonly)

Returns the value of attribute element_type.

Returns:



1043
1044
1045
# File 'sig/types.rbs', line 1043

def element_type
  @element_type
end

#metadataElementMetadata (readonly)

Returns the value of attribute metadata.

Returns:



1045
1046
1047
# File 'sig/types.rbs', line 1045

def 
  @metadata
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1044
1045
1046
# File 'sig/types.rbs', line 1044

def text
  @text
end