class method
self.new
Ruby on Rails 5.0.7.2
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 174
def initialize(str = '')
@html_safe = true
super
end
Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 174
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SafeBuffer