class

SafeECR::HTMLSafeString

Inherits Reference / Object

Constructors

new(string : String)
Source

Instance methods

+(other : String)
Source
+(other : HTMLSafeString)
Source
==(other : self)

Returns true if this reference is the same as other. Invokes same?.

Source
==(other : String)
Source
html_safe?
Source
to_s(io)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source

Macros

method_missing(call)
Source