Class: Pricecut::Elements::Ol

Inherits:
Element
  • Object
show all
Defined in:
lib/pricecut/elements/ol.rb

Direct Known Subclasses

Ul

Instance Attribute Summary

Attributes inherited from Element

#node, #visitor

Instance Method Summary collapse

Methods inherited from Element

#append_newline, #append_output, #initialize, #yield_children

Constructor Details

This class inherits a constructor from Pricecut::Elements::Element

Instance Method Details

#output!Object



4
5
6
# File 'lib/pricecut/elements/ol.rb', line 4

def output!
  eol; yield_children; eol
end