方法
类公有方法
new(encoding) 链接
源代码:显示 | 在 GitHub 上
# File activesupport/lib/active_support/cache/coder.rb, line 87 def initialize(encoding) @encoding = encoding end
实例公有方法
load(payload) 链接
源代码:显示 | 在 GitHub 上
# File activesupport/lib/active_support/cache/coder.rb, line 91 def load(payload) payload.force_encoding(@encoding) end