class Phlex::HTML

def __unbuffered_class__

Other tags:
    Api: - private
def __unbuffered_class__
	UNBUFFERED_MUTEX.synchronize do
		if defined? @unbuffered_class
			@unbuffered_class
		else
			@unbuffered_class = Class.new(Unbuffered)
		end
	end
end

def doctype

Output an HTML doctype.
def doctype
	@_context.target << "<!DOCTYPE html>"
	nil
end

def svg(...)

def svg(...)
	super do
		render Phlex::SVG.new do |svg|
			yield(svg)
		end
	end
end

def text(...)

Deprecated:
  • use {#plain} instead.
def text(...)
	warn "DEPRECATED: The `text` method has been deprecated in favour of `plain`. Please use `plain` instead. The `text` method will be removed in a future version of Phlex. Called from: #{caller.first}"
	plain(...)
end

def unbuffered

Other tags:
    Api: - private
def unbuffered
	self.class.__unbuffered_class__.new(self)
end