Class: Malt::Formats::HTML

Inherits:
Abstract show all
Defined in:
lib/malt/formats/html.rb

Instance Attribute Summary

Attributes inherited from Abstract

#options

Instance Method Summary collapse

Methods inherited from Abstract

#default, engine, #engine, #extensions, extensions, #file, #parse_type_and_data, #refile, register, #render, #subtype, #text, #to, #to_s, #type

Instance Method Details

#htmlObject



11
12
13
# File 'lib/malt/formats/html.rb', line 11

def html(*)
  text
end

#to_htmlObject

HTML is HTML ;)



16
17
18
# File 'lib/malt/formats/html.rb', line 16

def to_html(*)
  self
end