Sha256: 993cbef1009504f5000714b5809303fd3015c21f39f97ff3abe87f9715418e7b
Contents?: true
Size: 432 Bytes
Versions: 41
Compression:
Stored size: 432 Bytes
Contents
# -*- encoding : utf-8 -*- class Card class Format class JsonFormat < DataFormat register :json def mime_type "text/json" end def expand_stubs content case content when Hash content.each { |k, v| content[k] = expand_stubs v } when Array content.map { |item| expand_stubs item } else super end end end end end
Version data entries
41 entries across 41 versions & 2 rubygems