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.
781 |
# File 'sig/types.rbs', line 781
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.
774 775 776 |
# File 'sig/types.rbs', line 774 def block_type @block_type end |
#children ⇒ Array[FormattedBlock] (readonly)
Returns the value of attribute children.
779 780 781 |
# File 'sig/types.rbs', line 779 def children @children end |
#code ⇒ String (readonly)
Returns the value of attribute code.
778 779 780 |
# File 'sig/types.rbs', line 778 def code @code end |
#inline_content ⇒ Array[InlineElement] (readonly)
Returns the value of attribute inline_content.
776 777 778 |
# File 'sig/types.rbs', line 776 def inline_content @inline_content end |
#language ⇒ String (readonly)
Returns the value of attribute language.
777 778 779 |
# File 'sig/types.rbs', line 777 def language @language end |
#level ⇒ Integer (readonly)
Returns the value of attribute level.
775 776 777 |
# File 'sig/types.rbs', line 775 def level @level end |