method

clone_empty

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveSupport::SafeBuffer
clone_empty() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 80
    def clone_empty # :nodoc:
      ActiveSupport.deprecator.warn <<~EOM
        ActiveSupport::SafeBuffer#clone_empty is deprecated and will be removed in Rails 7.2.
      EOM
      self[0, 0]
    end
Register or log in to add new notes.