class SafeECR::HTMLSafeString

Defined in:

safe_ecr/html_safe_string.cr

Constructors

Instance Method Summary

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

def self.new(string : String) #

[View source]

Instance Method Detail

def +(other : String) #

[View source]
def +(other : HTMLSafeString) #

[View source]
def ==(other : self) #
Description copied from class Reference

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


[View source]
def ==(other : String) #

[View source]
def html_safe? #

[View source]
def to_s(io) #

[View source]
def to_s : String #
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.


[View source]

Macro Detail

macro method_missing(call) #

[View source]