Sha256: b1ecac0898341545ee779112e0963548040f1e5b0dca06c3ae24d878675eeacf

Contents?: true

Size: 191 Bytes

Versions: 2

Compression:

Stored size: 191 Bytes

Contents

module Pricecut
  module Elements
    class Img < Element
      def output!
        alt = node["alt"]
        src = node["src"]

        p "![#{ alt }](#{ src })"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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