Class: Qiita::Markdown::Greenmat::HeadingRendering::AbstractHeading
- Inherits:
-
Struct
- Object
- Struct
- Qiita::Markdown::Greenmat::HeadingRendering::AbstractHeading
- Defined in:
- lib/qiita/markdown/greenmat/heading_rendering.rb
Instance Attribute Summary collapse
-
#counter ⇒ Object
Returns the value of attribute counter.
-
#level ⇒ Object
Returns the value of attribute level.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#counter ⇒ Object
Returns the value of attribute counter
9 10 11 |
# File 'lib/qiita/markdown/greenmat/heading_rendering.rb', line 9 def counter @counter end |
#level ⇒ Object
Returns the value of attribute level
9 10 11 |
# File 'lib/qiita/markdown/greenmat/heading_rendering.rb', line 9 def level @level end |
#text ⇒ Object
Returns the value of attribute text
9 10 11 |
# File 'lib/qiita/markdown/greenmat/heading_rendering.rb', line 9 def text @text end |
Instance Method Details
#increment ⇒ Object
14 15 16 |
# File 'lib/qiita/markdown/greenmat/heading_rendering.rb', line 14 def increment fail NotImplementedError end |
#to_s ⇒ Object
10 11 12 |
# File 'lib/qiita/markdown/greenmat/heading_rendering.rb', line 10 def to_s fail NotImplementedError end |