Class: Qiita::Markdown::Greenmat::HeadingRendering::AbstractHeading

Inherits:
Struct
  • Object
show all
Defined in:
lib/qiita/markdown/greenmat/heading_rendering.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#counterObject

Returns the value of attribute counter

Returns:

  • (Object)

    the current value of counter



9
10
11
# File 'lib/qiita/markdown/greenmat/heading_rendering.rb', line 9

def counter
  @counter
end

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



9
10
11
# File 'lib/qiita/markdown/greenmat/heading_rendering.rb', line 9

def level
  @level
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



9
10
11
# File 'lib/qiita/markdown/greenmat/heading_rendering.rb', line 9

def text
  @text
end

Instance Method Details

#incrementObject



14
15
16
# File 'lib/qiita/markdown/greenmat/heading_rendering.rb', line 14

def increment
  fail NotImplementedError
end

#to_sObject



10
11
12
# File 'lib/qiita/markdown/greenmat/heading_rendering.rb', line 10

def to_s
  fail NotImplementedError
end