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