Methods

Class Public methods

new(encoding)

📝 Source code
# File activesupport/lib/active_support/cache/coder.rb, line 87
          def initialize(encoding)
            @encoding = encoding
          end
🔎 See on GitHub

Instance Public methods

load(payload)

📝 Source code
# File activesupport/lib/active_support/cache/coder.rb, line 91
          def load(payload)
            payload.force_encoding(@encoding)
          end
🔎 See on GitHub