Sha256: e72cedeb21040ac1a39ffb22742c3c17e733f42f21a2706b0e275999bc960ce5
Contents?: true
Size: 353 Bytes
Versions: 4
Compression:
Stored size: 353 Bytes
Contents
module CloudShaped module Camelate refine Symbol do def camelate to_s.split('_').map(&:capitalize).join end end refine String do def camelate self end end refine Hash do def camelate_keys Hash[map { |key, value| [key.camelate, value] }] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems