Sha256: 7240c0979f4c7502fcfef03f8f17ddb6f42bf3bc4da02994cc11c63a651ae4cd

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

require 'malt/formats/abstract'

module Malt::Format

  #
  class HTML < Abstract

    register 'html'

    #
    def html(*)
      text
    end

    # HTML is HTML ;)
    def to_html(*)
      self
    end

    private

    #
    def render_engine
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
malt-0.3.0 lib/malt/formats/html.rb
malt-0.2.0 lib/malt/formats/html.rb