Namespace
Methods
- #
- C
- E
- H
- I
- N
- O
- S
- T
Constants
UNSAFE_STRING_METHODS | = | %w( capitalize chomp chop delete downcase gsub lstrip next reverse rstrip slice squeeze strip sub succ swapcase tr tr_s upcase prepend ) |
Class Public methods
new(*)
Link
Instance Public methods
%(args)
Link
+(other)
Link
[](*args)
Link
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 99 def [](*args) if args.size < 2 super else if html_safe? new_safe_buffer = super if new_safe_buffer new_safe_buffer.instance_eval { @html_safe = true } end new_safe_buffer else to_str[*args] end end end
clone_empty()
Link
encode_with(coder)
Link
html_safe?()
Link
initialize_copy(other)
Link
safe_concat(value)
Link
to_param()
Link