Sha256: 1b3575377dfb82357b21571ca81dbb3bb8b50e9bbca1fc1645af8085007484de

Contents?: true

Size: 210 Bytes

Versions: 2

Compression:

Stored size: 210 Bytes

Contents

module Pricecut
  module Elements
    class Strong < Element
      def output!
        p "**"; yield_children; p "**"
      end
    end

    # <b> tag is the same as <strong>
    class B < Strong; end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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