Parent

Class/Module Index [+]

Quicksearch

ActiveSupport::SafeBuffer

Public Instance Methods

+(other) click to toggle source
# File lib/active_support/core_ext/string/output_safety.rb, line 87
def +(other)
  dup.concat(other)
end
<<(value) click to toggle source
Alias for: concat
concat(value) click to toggle source
# File lib/active_support/core_ext/string/output_safety.rb, line 78
def concat(value)
  if value.html_safe?
    super(value)
  else
    super(ERB::Util.h(value))
  end
end
Also aliased as: safe_concat, <<
html_safe() click to toggle source
# File lib/active_support/core_ext/string/output_safety.rb, line 95
def html_safe
  self
end
html_safe?() click to toggle source
# File lib/active_support/core_ext/string/output_safety.rb, line 91
def html_safe?
  true
end
safe_concat(value) click to toggle source
Alias for: concat
to_s() click to toggle source
# File lib/active_support/core_ext/string/output_safety.rb, line 99
def to_s
  self
end
to_yaml(*args) click to toggle source
# File lib/active_support/core_ext/string/output_safety.rb, line 103
def to_yaml(*args)
  to_str.to_yaml(*args)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.