Sha256: 53899621054307378bbf731ce92c9723eafc4a9fefa8122b2d6e35ca36de90a0
Contents?: true
Size: 165 Bytes
Versions: 2
Compression:
Stored size: 165 Bytes
Contents
module Coercer class Baz def self.coerce(arg, default = nil) if arg.nil? default else ::Baz.new(arg) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
attribrutal-0.0.12 | spec/support/models/coercer.rb |
attribrutal-0.0.10 | spec/support/models/coercer.rb |