Class: Malt::Format::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, file_extension, #file_read, #file_type, #parse_type_from_data, #refile, register, #render, #render_into, #rendering_parameters, #scope_vs_data, #subtype, #text, #to, #to_default, #to_s, #type, #with, #with!

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