Sha256: b42a5f11368f9dfdf296aaa4bd61652c1b3867ae54509743ebe66c67a45d7e9e

Contents?: true

Size: 197 Bytes

Versions: 2

Compression:

Stored size: 197 Bytes

Contents

module Pricecut
  module Elements
    class Em < Element
      def output!
        p "_"; yield_children; p "_"
      end
    end

    # <i> tag is the same as <em>
    class I < Em; end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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