Sha256: 2a90cc2b8469bbea5597deb98cfac010be02d87c9eb6111cfb6394efade62a3d
Contents?: true
Size: 205 Bytes
Versions: 11
Compression:
Stored size: 205 Bytes
Contents
class Rack::App::Serializer def initialize @proc = lambda { |o| o.to_s } end def set_serialization_logic(proc) @proc = proc end def serialize(object) @proc.call(object) end end
Version data entries
11 entries across 11 versions & 1 rubygems