Class: Table_of_Contents
Constant Summary
Constants included from Itemize
Itemize::ITEMIZE_INITIATOR, Itemize::ITEMIZE_TERMINATOR, Itemize::ITEM_INITIATOR, Itemize::ITEM_TERMINATOR
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize ⇒ Table_of_Contents
constructor
A new instance of Table_of_Contents.
Methods included from Itemize
#cb_itemize_add_item, #cb_itemize_begin, #cb_itemize_continue_item, #cb_itemize_end
Constructor Details
#initialize ⇒ Table_of_Contents
Returns a new instance of Table_of_Contents.
75 76 77 78 79 |
# File 'lib/ulmul.rb', line 75 def initialize() @body = '' @subs_rules = lambda{|s| return s} cb_itemize_begin() end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
80 81 82 |
# File 'lib/ulmul.rb', line 80 def body @body end |