Class: SectionCounter
- Inherits:
-
LeveledCounter
- Object
- LeveledCounter
- SectionCounter
- 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
#label ⇒ Object
136 137 138 |
# File 'lib/jay_flavored_markdown/markdown_converter.rb', line 136 def label mark && " #{full_mark}" end |