Sha256: 2e9a835d0301c295e44fa1b903b72ea113c743d63126915af1e3dfca879ea077
Contents?: true
Size: 325 Bytes
Versions: 3
Compression:
Stored size: 325 Bytes
Contents
module DeadSimpleDb class SdbString def initialize(value, opts={}) @value_before_cast = value end def casted @casted = case @value_before_cast when String : @value_before_cast else @value_before_cast.to_s end end def to_s casted end end end
Version data entries
3 entries across 3 versions & 1 rubygems