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.
1617 |
# File 'sig/types.rbs', line 1617
def initialize: (text: String, font_size: Float, level: String) -> void
|
Instance Attribute Details
#font_size ⇒ Float (readonly)
Returns the value of attribute font_size.
1614 1615 1616 |
# File 'sig/types.rbs', line 1614 def font_size @font_size end |
#level ⇒ String (readonly)
Returns the value of attribute level.
1615 1616 1617 |
# File 'sig/types.rbs', line 1615 def level @level end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1613 1614 1615 |
# File 'sig/types.rbs', line 1613 def text @text end |