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:



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

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

Instance Attribute Details

#element_typeElementType (readonly)

Returns the value of attribute element_type.

Returns:



1032
1033
1034
# File 'sig/types.rbs', line 1032

def element_type
  @element_type
end

#metadataElementMetadata (readonly)

Returns the value of attribute metadata.

Returns:



1034
1035
1036
# File 'sig/types.rbs', line 1034

def 
  @metadata
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1033
1034
1035
# File 'sig/types.rbs', line 1033

def text
  @text
end