Module: RD::LabeledElement
- Included in:
- DescListItem::Term, Headline, MethodListItem::Term
- Defined in:
- lib/rd2odt/rdtool/rd/labeled-element.rb
Overview
interface
Instance Method Summary collapse
- #calculate_label ⇒ Object
- #to_label ⇒ Object (also: #label)
Instance Method Details
#calculate_label ⇒ Object
10 11 12 |
# File 'lib/rd2odt/rdtool/rd/labeled-element.rb', line 10 def calculate_label raise "[BUG] must override." end |
#to_label ⇒ Object Also known as: label
5 6 7 |
# File 'lib/rd2odt/rdtool/rd/labeled-element.rb', line 5 def to_label @label ||= calculate_label end |