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