Method: RD::ComplexListItem#each_element
- Defined in:
- lib/rd/complex-list-item.rb
#each_element {|_self| ... } ⇒ Object Also known as: each
33 34 35 36 37 38 39 |
# File 'lib/rd/complex-list-item.rb', line 33 def each_element(&block) yield(self) @term.each_element(&block) @description.each do |i| i.each_element(&block) end end |