class method
self.new
Ruby on Rails 6.0.6
Since v3.0.20Signature
self.new(str = "")
No documentation comment.
Parameters
-
stropt = ""
Source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 201
def initialize(str = "")
@html_safe = true
super
end
Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 201
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SafeBuffer