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.
981 |
# File 'sig/types.rbs', line 981
def initialize: (level: Integer, text: String) -> void
|
Instance Attribute Details
#level ⇒ Integer (readonly)
Returns the value of attribute level.
978 979 980 |
# File 'sig/types.rbs', line 978 def level @level end |
#text ⇒ String (readonly)
Returns the value of attribute text.
979 980 981 |
# File 'sig/types.rbs', line 979 def text @text end |