class Phlex::HTML

def render(renderable, &block)

def render(renderable, &block)
	case renderable
	when Phlex::HTML
		renderable.call(@_target, view_context: @_view_context, parent: self, &block)
	when Class
		if renderable < Phlex::HTML
			renderable.new.call(@_target, view_context: @_view_context, parent: self, &block)
		end
	else
		raise ArgumentError, "You can't render a #{renderable}."
	end
	nil
end