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:



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

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

Instance Attribute Details

#element_typeElementType (readonly)

Returns the value of attribute element_type.

Returns:



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

def element_type
  @element_type
end

#metadataElementMetadata (readonly)

Returns the value of attribute metadata.

Returns:



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

def 
  @metadata
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


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

def text
  @text
end