Class: Hoshi::View::SVG

Inherits:
Hoshi::View show all
Defined in:
lib/hoshi/view/svg.rb

Class Method Summary collapse

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



43
44
45
# File 'lib/hoshi/view/svg.rb', line 43

def self.content_type
	"image/svg+xml"
end