Sha256: 7199ca40b9b08f30d0c57e2858742de3c9282d7a0e507f50b867aa5d6ae36772
Contents?: true
Size: 371 Bytes
Versions: 26
Compression:
Stored size: 371 Bytes
Contents
module Foobara module BuiltinTypes module String module Casters class Symbol < Value::Caster def applicable?(value) value.is_a?(::Symbol) end def applies_message "be a Symbol" end def cast(string) string.to_s end end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems