class SafeECR::HTMLSafeString
- SafeECR::HTMLSafeString
- Reference
- Object
Defined in:
safe_ecr/html_safe_string.crConstructors
Instance Method Summary
- #+(other : String)
- #+(other : HTMLSafeString)
-
#==(other : self)
Returns
true
if this reference is the same as other. - #==(other : String)
- #html_safe?
- #to_s(io)
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
Macro Summary
Instance methods inherited from class Object
html_safe?
html_safe?,
to_html_safe_s(io)to_html_safe_s to_html_safe_s
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
Description copied from class Object
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
.