Class: Xberg::HeadingLevel
- Inherits:
-
Object
- Object
- Xberg::HeadingLevel
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#level ⇒ Integer
readonly
Returns the value of attribute level.
-
#text ⇒ String
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ HeadingLevel
constructor
A new instance of HeadingLevel.
Constructor Details
#initialize ⇒ HeadingLevel
Returns a new instance of HeadingLevel.
1179 |
# File 'sig/types.rbs', line 1179 def initialize: (level: Integer, text: String) -> void |
Instance Attribute Details
#level ⇒ Integer (readonly)
Returns the value of attribute level.
1176 1177 1178 |
# File 'sig/types.rbs', line 1176 def level @level end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1177 1178 1179 |
# File 'sig/types.rbs', line 1177 def text @text end |