Class: Xberg::FormattedBlock
- Inherits:
-
Object
- Object
- Xberg::FormattedBlock
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#attributes ⇒ Attributes?
readonly
Returns the value of attribute attributes.
-
#block_type ⇒ enum_BlockType
readonly
Returns the value of attribute block_type.
-
#children ⇒ Array[FormattedBlock]
readonly
Returns the value of attribute children.
-
#code ⇒ String?
readonly
Returns the value of attribute code.
-
#inline_content ⇒ Array[InlineElement]
readonly
Returns the value of attribute inline_content.
-
#language ⇒ String?
readonly
Returns the value of attribute language.
-
#level ⇒ Integer?
readonly
Returns the value of attribute level.
Instance Method Summary collapse
-
#initialize ⇒ FormattedBlock
constructor
A new instance of FormattedBlock.
Constructor Details
#initialize ⇒ FormattedBlock
Returns a new instance of FormattedBlock.
1118 |
# File 'sig/types.rbs', line 1118
def initialize: (block_type: enum_BlockType, ?level: Integer, inline_content: Array[InlineElement], ?attributes: Attributes, ?language: String, ?code: String, children: Array[FormattedBlock]) -> void
|
Instance Attribute Details
#attributes ⇒ Attributes? (readonly)
Returns the value of attribute attributes.
1113 1114 1115 |
# File 'sig/types.rbs', line 1113 def attributes @attributes end |
#block_type ⇒ enum_BlockType (readonly)
Returns the value of attribute block_type.
1110 1111 1112 |
# File 'sig/types.rbs', line 1110 def block_type @block_type end |
#children ⇒ Array[FormattedBlock] (readonly)
Returns the value of attribute children.
1116 1117 1118 |
# File 'sig/types.rbs', line 1116 def children @children end |
#code ⇒ String? (readonly)
Returns the value of attribute code.
1115 1116 1117 |
# File 'sig/types.rbs', line 1115 def code @code end |
#inline_content ⇒ Array[InlineElement] (readonly)
Returns the value of attribute inline_content.
1112 1113 1114 |
# File 'sig/types.rbs', line 1112 def inline_content @inline_content end |
#language ⇒ String? (readonly)
Returns the value of attribute language.
1114 1115 1116 |
# File 'sig/types.rbs', line 1114 def language @language end |
#level ⇒ Integer? (readonly)
Returns the value of attribute level.
1111 1112 1113 |
# File 'sig/types.rbs', line 1111 def level @level end |