Sha256: 4fe08cc09a8ad7554ab9c8751b1bbe9ef61c340f321dcde025d33103984a2761

Contents?: true

Size: 222 Bytes

Versions: 2

Compression:

Stored size: 222 Bytes

Contents

module Pricecut
  module Elements
    class Ol < Element
      def output!
        eol; yield_children; eol
      end
    end

    # <ol> and <ul> act the same, the differences are in <li>
    class Ul < Ol; end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pricecut-0.0.3 lib/pricecut/elements/ol.rb
pricecut-0.0.2 lib/pricecut/elements/ol.rb