Class: SectionCounter

Inherits:
LeveledCounter show all
Defined in:
lib/jay_flavored_markdown/markdown_converter.rb

Constant Summary collapse

INIT_VALUES =
["1", "1", "1"]
COUNT_SEPARATOR =
'.'
COUNTER_TYPE =
:section

Instance Method Summary collapse

Methods inherited from LeveledCounter

create, #full_mark, #initialize, #level, #mark, #next, #next_level, #previous_level, #reset, #set_level, #type

Constructor Details

This class inherits a constructor from LeveledCounter

Instance Method Details

#labelObject



136
137
138
# File 'lib/jay_flavored_markdown/markdown_converter.rb', line 136

def label
  mark && " #{full_mark}"
end