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