Ktistec::SafeAttrValue
Inherits Struct < Value < Object
A String wrapper marking a value safe to emit raw inside a
double-quoted HTML attribute (attr="..."), other than URL or
event-handler slots. Not interchangeable with SafeHTML: HTML
markup like <em>x</em> is SafeHTML but is not safe inside an
attribute value.
Constructors
assert_safe(string : String) : SafeAttrValue
Asserts the input is already safe inside an HTML attribute.
Instance methods
==(other : SafeAttrValue) : Bool
Source==(other : String) : Bool
Source=~(other : Regex)
Sourceempty?(*args, **options)
Sourceempty?(*args, **options, &)
Sourceincludes?(*args, **options)
Sourceincludes?(*args, **options, &)
Sourcesize(*args, **options)
Sourcesize(*args, **options, &)
Sourceto_json(*args, **options)
Sourceto_json(*args, **options, &)
Sourceto_s(*args, **options)
Sourceto_s(*args, **options, &)
Source