Class: Xberg::InlineElement
- Inherits:
-
Object
- Object
- Xberg::InlineElement
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content ⇒ String
readonly
Returns the value of attribute content.
-
#element_type ⇒ 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.
789 |
# File 'sig/types.rbs', line 789
def initialize: (element_type: InlineType, content: String, ?metadata: Hash[String, String]) -> void
|
Instance Attribute Details
#content ⇒ String (readonly)
Returns the value of attribute content.
786 787 788 |
# File 'sig/types.rbs', line 786 def content @content end |
#element_type ⇒ InlineType (readonly)
Returns the value of attribute element_type.
785 786 787 |
# File 'sig/types.rbs', line 785 def element_type @element_type end |
#metadata ⇒ Hash[String, String] (readonly)
Returns the value of attribute metadata.
787 788 789 |
# File 'sig/types.rbs', line 787 def @metadata end |