instance method chr

Ruby on Rails 8.0.4

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

chr()

No documentation comment.

Source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 59
    def chr
      return super unless html_safe?

      string_into_safe_buffer(super, true)
    end

Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 59 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::SafeBuffer

Type at least 2 characters to search.

↑↓ navigate · open · esc close