module Pricecut
  module Elements
    class A < Element
      def output!
        text = node.text
        href = node["href"]

        p "[#{ text }](#{ href })"
      end
    end
  end
end