Parent

Class/Module Index [+]

Quicksearch

ActiveSupport::SafeBuffer

Public Instance Methods

+(other) click to toggle source
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/core_ext/string/output_safety.rb, line 89
def +(other)
  dup.concat(other)
end
<<(value) click to toggle source
Alias for: concat
concat(value) click to toggle source
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/core_ext/string/output_safety.rb, line 80
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 D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/core_ext/string/output_safety.rb, line 97
def html_safe
  self
end
html_safe?() click to toggle source
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/core_ext/string/output_safety.rb, line 93
def html_safe?
  true
end
safe_concat(value) click to toggle source
Alias for: concat
to_param() click to toggle source
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/core_ext/string/output_safety.rb, line 105
def to_param
  to_str
end
to_s() click to toggle source
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/core_ext/string/output_safety.rb, line 101
def to_s
  self
end
to_yaml(*args) click to toggle source
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/core_ext/string/output_safety.rb, line 109
def to_yaml(*args)
  to_str.to_yaml(*args)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.