Namespace
Methods
- #
- C
- E
- H
- I
- N
- O
- P
- R
- S
- T
Constants
UNSAFE_STRING_METHODS | = | %w( capitalize chomp chop delete delete_prefix delete_suffix downcase lstrip next reverse rstrip slice squeeze strip succ swapcase tr tr_s unicode_normalize upcase ) |
UNSAFE_STRING_METHODS_WITH_BACKREF | = | %w(gsub sub) |
Class Public methods
new(str = "")
Link
Instance Public methods
%(args)
Link
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 222 def %(args) case args when Hash escaped_args = Hash[args.map { |k, arg| [k, html_escape_interpolated_argument(arg)] }] else escaped_args = Array(args).map { |arg| html_escape_interpolated_argument(arg) } end self.class.new(super(escaped_args)) end
*(*)
Link
+(other)
Link
[](*args)
Link
[]=(*args)
Link
clone_empty()
Link
encode_with(coder)
Link
html_safe?()
Link
initialize_copy(other)
Link
insert(index, value)
Link
prepend(value)
Link
replace(value)
Link
safe_concat(value)
Link
to_param()
Link