Sha256: c6d38810ac1965421260048d72e6891795bf6e38cded385da341781f8771ed48
Contents?: true
Size: 218 Bytes
Versions: 6
Compression:
Stored size: 218 Bytes
Contents
# TODO: foo should accept "s: String | [Integer]"? def foo(n: 42, s: [n]) [n, s] end foo(n: 42, s: "str") __END__ # Classes class Object def foo : (?n: Integer, ?s: String) -> ([Integer, String | [Integer]]) end
Version data entries
6 entries across 6 versions & 1 rubygems