来源: 显示 | 在GitHub上
# File activesupport/lib/active_support/cache/coder.rb, line 87 def initialize(encoding) @encoding = encoding end
# File activesupport/lib/active_support/cache/coder.rb, line 91 def load(payload) payload.force_encoding(@encoding) end