class Tilt::StaticTemplate
def self.subclass(mime_type: 'text/html', &block)
def self.subclass(mime_type: 'text/html', &block) Class.new(self) do self.default_mime_type = mime_type private define_method(:_prepare_output, &block) end end
def self.subclass(mime_type: 'text/html', &block) Class.new(self) do self.default_mime_type = mime_type private define_method(:_prepare_output, &block) end end