Skip to Content Skip to Search
Methods
L
N

Class Public methods

new(encoding)

# File activesupport/lib/active_support/cache/coder.rb, line 87
def initialize(encoding)
  @encoding = encoding
end

Instance Public methods

load(payload)

# File activesupport/lib/active_support/cache/coder.rb, line 91
def load(payload)
  payload.force_encoding(@encoding)
end