Class: Xberg::Element
- Inherits:
-
Object
- Object
- Xberg::Element
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#element_id ⇒ String
readonly
Returns the value of attribute element_id.
-
#element_type ⇒ enum_ElementType
readonly
Returns the value of attribute element_type.
-
#metadata ⇒ ElementMetadata
readonly
Returns the value of attribute metadata.
-
#text ⇒ String
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ Element
constructor
A new instance of Element.
Constructor Details
#initialize ⇒ Element
Returns a new instance of Element.
686 |
# File 'sig/types.rbs', line 686
def initialize: (element_id: String, element_type: enum_ElementType, text: String, metadata: ElementMetadata) -> void
|
Instance Attribute Details
#element_id ⇒ String (readonly)
Returns the value of attribute element_id.
681 682 683 |
# File 'sig/types.rbs', line 681 def element_id @element_id end |
#element_type ⇒ enum_ElementType (readonly)
Returns the value of attribute element_type.
682 683 684 |
# File 'sig/types.rbs', line 682 def element_type @element_type end |
#metadata ⇒ ElementMetadata (readonly)
Returns the value of attribute metadata.
684 685 686 |
# File 'sig/types.rbs', line 684 def @metadata end |
#text ⇒ String (readonly)
Returns the value of attribute text.
683 684 685 |
# File 'sig/types.rbs', line 683 def text @text end |