class Phlex::SGML
def plain(content)
- See: #format_object -
Returns:
-
(nil)
-
Parameters:
-
content
(String, Symbol, Integer, void
) -- the content to be output on the buffer. Strings, Symbols, and Integers are handled by `plain` directly, but any object can be handled by overriding `format_object`
def plain(content) unless __text__(content) raise ArgumentError, "You've passed an object to plain that is not handled by format_object. See https://rubydoc.info/gems/phlex/Phlex/SGML#format_object-instance_method for more information" end nil end