+(other)
click to toggle source
def +(other)
dup.concat(other)
end
<<(value)
click to toggle source
concat(value)
click to toggle source
def concat(value)
if dirty? || value.html_safe?
super(value)
else
super(ERB::Util.h(value))
end
end
html_safe?()
click to toggle source
def html_safe?
!dirty?
end
initialize_copy(other)
click to toggle source
def initialize_copy(other)
super
@dirty = other.dirty?
end
original_concat(value)
click to toggle source
safe_concat(value)
click to toggle source
def safe_concat(value)
raise SafeConcatError if dirty?
original_concat(value)
end
to_param()
click to toggle source
to_s()
click to toggle source
to_yaml(*args)
click to toggle source
def to_yaml(*args)
to_str.to_yaml(*args)
end