Sha256: 73ad74a83acf852e5e5399e9449327005488dba3410d0726e3fad3a66f4ff205

Contents?: true

Size: 246 Bytes

Versions: 6

Compression:

Stored size: 246 Bytes

Contents

def foo(a, o1=1, o2=2, z)
  [a, o1, o2, z]
end

foo("A", "Z")
foo("A", "B", "Z")
foo("A", "B", "C", "Z")

__END__
# Classes
class Object
  def foo : (String, ?String, ?String, String) -> ([String, Integer | String, Integer | String, String])
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
typeprof-0.2.0 smoke/optional1.rb
typeprof-0.1.4 smoke/optional1.rb
typeprof-0.1.3 smoke/optional1.rb
typeprof-0.1.2 smoke/optional1.rb
typeprof-0.1.1 smoke/optional1.rb
typeprof-0.1.0 smoke/optional1.rb