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.
840 |
# File 'sig/types.rbs', line 840
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.
833 834 835 |
# File 'sig/types.rbs', line 833 def block_type @block_type end |
#children ⇒ Array[FormattedBlock] (readonly)
Returns the value of attribute children.
838 839 840 |
# File 'sig/types.rbs', line 838 def children @children end |
#code ⇒ String (readonly)
Returns the value of attribute code.
837 838 839 |
# File 'sig/types.rbs', line 837 def code @code end |
#inline_content ⇒ Array[InlineElement] (readonly)
Returns the value of attribute inline_content.
835 836 837 |
# File 'sig/types.rbs', line 835 def inline_content @inline_content end |
#language ⇒ String (readonly)
Returns the value of attribute language.
836 837 838 |
# File 'sig/types.rbs', line 836 def language @language end |
#level ⇒ Integer (readonly)
Returns the value of attribute level.
834 835 836 |
# File 'sig/types.rbs', line 834 def level @level end |