Sha256: 10fecdd1419642087a6dd51d3fd7b3695666c1a89e222ec82e547df7e6be0188
Contents?: true
Size: 188 Bytes
Versions: 18
Compression:
Stored size: 188 Bytes
Contents
def foo(x) case x when Integer x when String x.to_i else raise end end foo(1) foo("1") __END__ # Classes class Object def foo : (Integer | String) -> Integer end
Version data entries
18 entries across 18 versions & 1 rubygems