Class: Xberg::Element
- Inherits:
-
Object
- Object
- Xberg::Element
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#element_type ⇒ 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.
1036 |
# File 'sig/types.rbs', line 1036
def initialize: (element_type: ElementType, text: String, metadata: ElementMetadata) -> void
|
Instance Attribute Details
#element_type ⇒ ElementType (readonly)
Returns the value of attribute element_type.
1032 1033 1034 |
# File 'sig/types.rbs', line 1032 def element_type @element_type end |
#metadata ⇒ ElementMetadata (readonly)
Returns the value of attribute metadata.
1034 1035 1036 |
# File 'sig/types.rbs', line 1034 def @metadata end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1033 1034 1035 |
# File 'sig/types.rbs', line 1033 def text @text end |