Class: Xberg::InlineElement
- Inherits:
-
Object
- Object
- Xberg::InlineElement
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#attributes ⇒ Attributes?
readonly
Returns the value of attribute attributes.
-
#content ⇒ String
readonly
Returns the value of attribute content.
-
#element_type ⇒ enum_InlineType
readonly
Returns the value of attribute element_type.
-
#metadata ⇒ Hash[String, String]?
readonly
Returns the value of attribute metadata.
Instance Method Summary collapse
-
#initialize ⇒ InlineElement
constructor
A new instance of InlineElement.
Constructor Details
#initialize ⇒ InlineElement
Returns a new instance of InlineElement.
1345 |
# File 'sig/types.rbs', line 1345
def initialize: (element_type: enum_InlineType, content: String, ?attributes: Attributes, ?metadata: Hash[String, String]) -> void
|
Instance Attribute Details
#attributes ⇒ Attributes? (readonly)
Returns the value of attribute attributes.
1342 1343 1344 |
# File 'sig/types.rbs', line 1342 def attributes @attributes end |
#content ⇒ String (readonly)
Returns the value of attribute content.
1341 1342 1343 |
# File 'sig/types.rbs', line 1341 def content @content end |
#element_type ⇒ enum_InlineType (readonly)
Returns the value of attribute element_type.
1340 1341 1342 |
# File 'sig/types.rbs', line 1340 def element_type @element_type end |
#metadata ⇒ Hash[String, String]? (readonly)
Returns the value of attribute metadata.
1343 1344 1345 |
# File 'sig/types.rbs', line 1343 def @metadata end |