Class: Hoshi::View::XHTML

Inherits:
HTML show all
Defined in:
lib/hoshi/view/xhtml.rb

Direct Known Subclasses

XHTML1, XHTML1Transitional, XHTML2

Class Method Summary collapse

Methods inherited from HTML

#cdata, #css_includes

Methods inherited from Hoshi::View

[], #_tag, #append!, build, #clear!, #comment, #doc, #doctype, dtd!, #entity, #initialize, #method_missing, open_tags, #otag, permissive!, permissive?, #raw, #render, #render_cgi, #safe, self_closing_tags, strict!, strict?, #tag, tag, tags

Constructor Details

This class inherits a constructor from Hoshi::View

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Hoshi::View

Class Method Details

.content_typeObject



5
6
7
# File 'lib/hoshi/view/xhtml.rb', line 5

def self.content_type
	'application/xhtml+xml'
end