Class: Rticles::Numbering::Config::LevelConfig
- Inherits:
-
Object
- Object
- Rticles::Numbering::Config::LevelConfig
- Defined in:
- lib/rticles/numbering.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
-
#style ⇒ Object
Returns the value of attribute style.
Instance Method Summary collapse
-
#initialize ⇒ LevelConfig
constructor
A new instance of LevelConfig.
Constructor Details
#initialize ⇒ LevelConfig
Returns a new instance of LevelConfig.
35 36 37 38 |
# File 'lib/rticles/numbering.rb', line 35 def initialize self.style = Rticles::Numbering::DECIMAL self.format = '#' end |
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format.
33 34 35 |
# File 'lib/rticles/numbering.rb', line 33 def format @format end |
#style ⇒ Object
Returns the value of attribute style.
33 34 35 |
# File 'lib/rticles/numbering.rb', line 33 def style @style end |