Class: Xberg::FormattedBlock
- Inherits:
-
Object
- Object
- Xberg::FormattedBlock
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#block_type ⇒ 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.
816 |
# File 'sig/types.rbs', line 816
def initialize: (block_type: BlockType, ?level: Integer, inline_content: Array[InlineElement], ?language: String, ?code: String, children: Array[FormattedBlock]) -> void
|
Instance Attribute Details
#block_type ⇒ BlockType (readonly)
Returns the value of attribute block_type.
809 810 811 |
# File 'sig/types.rbs', line 809 def block_type @block_type end |
#children ⇒ Array[FormattedBlock] (readonly)
Returns the value of attribute children.
814 815 816 |
# File 'sig/types.rbs', line 814 def children @children end |
#code ⇒ String (readonly)
Returns the value of attribute code.
813 814 815 |
# File 'sig/types.rbs', line 813 def code @code end |
#inline_content ⇒ Array[InlineElement] (readonly)
Returns the value of attribute inline_content.
811 812 813 |
# File 'sig/types.rbs', line 811 def inline_content @inline_content end |
#language ⇒ String (readonly)
Returns the value of attribute language.
812 813 814 |
# File 'sig/types.rbs', line 812 def language @language end |
#level ⇒ Integer (readonly)
Returns the value of attribute level.
810 811 812 |
# File 'sig/types.rbs', line 810 def level @level end |