instance method
[]=
Ruby on Rails 6.0.6
Since v6.0.6Signature
[]=(*args)
No documentation comment.
Parameters
-
argsrest
Source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 232
def []=(*args)
if args.count == 3
super(args[0], args[1], html_escape_interpolated_argument(args[2]))
else
super(args[0], html_escape_interpolated_argument(args[1]))
end
end
Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 232
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SafeBuffer