Sha256: 457da33239188a3d19c0d14df0ccee0a56eb315f678aa23752629e634045bd48
Contents?: true
Size: 360 Bytes
Versions: 12
Compression:
Stored size: 360 Bytes
Contents
def foo(a, o1=1, o2=2, *r, z) [a, o1, o2, r, z] end foo("A", "Z") foo("A", "B", "Z") foo("A", "B", "C", "Z") foo("A", "B", "C", "D", "Z") foo("A", "B", "C", "D", "E", "Z") __END__ # Classes class Object def foo : (String, ?Integer | String, ?Integer | String, *String, String) -> ([String, Integer | String, Integer | String, Array[String], String]) end
Version data entries
12 entries across 12 versions & 1 rubygems