Class: Xberg::HierarchicalBlock
- Inherits:
-
Object
- Object
- Xberg::HierarchicalBlock
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#font_size ⇒ Float
readonly
Returns the value of attribute font_size.
-
#level ⇒ String
readonly
Returns the value of attribute level.
-
#text ⇒ String
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ HierarchicalBlock
constructor
A new instance of HierarchicalBlock.
Constructor Details
#initialize ⇒ HierarchicalBlock
Returns a new instance of HierarchicalBlock.
1723 |
# File 'sig/types.rbs', line 1723
def initialize: (text: String, font_size: Float, level: String) -> void
|
Instance Attribute Details
#font_size ⇒ Float (readonly)
Returns the value of attribute font_size.
1720 1721 1722 |
# File 'sig/types.rbs', line 1720 def font_size @font_size end |
#level ⇒ String (readonly)
Returns the value of attribute level.
1721 1722 1723 |
# File 'sig/types.rbs', line 1721 def level @level end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1719 1720 1721 |
# File 'sig/types.rbs', line 1719 def text @text end |