11 12 13
# File 'lib/strong_json/type.rb', line 11 def ===(value) self =~ value end
4 5 6 7 8 9
# File 'lib/strong_json/type.rb', line 4 def =~(value) coerce(value) true rescue false end