Class: Crawlberg::HeadingInfo
- Inherits:
-
Object
- Object
- Crawlberg::HeadingInfo
- 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 ⇒ HeadingInfo
constructor
A new instance of HeadingInfo.
Constructor Details
#initialize ⇒ HeadingInfo
Returns a new instance of HeadingInfo.
299 |
# File 'sig/types.rbs', line 299
def initialize: (?level: Integer, ?text: String) -> void
|
Instance Attribute Details
#level ⇒ Integer (readonly)
Returns the value of attribute level.
296 297 298 |
# File 'sig/types.rbs', line 296 def level @level end |
#text ⇒ String (readonly)
Returns the value of attribute text.
297 298 299 |
# File 'sig/types.rbs', line 297 def text @text end |