Class: SM::Heading
- Defined in:
- lib/rdoc/markup/simple_markup/fragments.rb
Constant Summary
Constants inherited from Fragment
Instance Attribute Summary
Attributes inherited from Fragment
Instance Method Summary collapse
Methods inherited from Fragment
#add_text, for, #initialize, #to_s, type_name
Constructor Details
This class inherits a constructor from SM::Fragment
Instance Method Details
#head_level ⇒ Object
63 64 65 |
# File 'lib/rdoc/markup/simple_markup/fragments.rb', line 63 def head_level @param.to_i end |