Class: Xberg::HeaderMetadata
- Inherits:
-
Object
- Object
- Xberg::HeaderMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#depth ⇒ Integer
readonly
Returns the value of attribute depth.
-
#html_offset ⇒ Integer
readonly
Returns the value of attribute html_offset.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
-
#level ⇒ Integer
readonly
Returns the value of attribute level.
-
#text ⇒ String
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ HeaderMetadata
constructor
A new instance of HeaderMetadata.
Constructor Details
#initialize ⇒ HeaderMetadata
Returns a new instance of HeaderMetadata.
1166 |
# File 'sig/types.rbs', line 1166
def initialize: (level: Integer, text: String, ?id: String, depth: Integer, html_offset: Integer) -> void
|
Instance Attribute Details
#depth ⇒ Integer (readonly)
Returns the value of attribute depth.
1163 1164 1165 |
# File 'sig/types.rbs', line 1163 def depth @depth end |
#html_offset ⇒ Integer (readonly)
Returns the value of attribute html_offset.
1164 1165 1166 |
# File 'sig/types.rbs', line 1164 def html_offset @html_offset end |
#id ⇒ String? (readonly)
Returns the value of attribute id.
1162 1163 1164 |
# File 'sig/types.rbs', line 1162 def id @id end |
#level ⇒ Integer (readonly)
Returns the value of attribute level.
1160 1161 1162 |
# File 'sig/types.rbs', line 1160 def level @level end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1161 1162 1163 |
# File 'sig/types.rbs', line 1161 def text @text end |