Sha256: 350f396f285423bb171f139742f4833e568fa0e1a2b187d648048c944d603637
Contents?: true
Size: 194 Bytes
Versions: 9
Compression:
Stored size: 194 Bytes
Contents
# frozen_string_literal: false class StringParser < Sinclair::Caster master_caster! cast_with(JSON) { |value| JSON.parse(value) } cast_with(Integer, :to_i) cast_with(Float, :to_f) end
Version data entries
9 entries across 9 versions & 1 rubygems