Sha256: 5aa803be40a2c852d0bf1e10c42c54a3916456ea470858aa7cd558bc2030f3a3

Contents?: true

Size: 593 Bytes

Versions: 12

Compression:

Stored size: 593 Bytes

Contents

string_array = ["str"] + ["str"]

def foo(*r)
end
foo(*string_array)

def bar(*r)
end
bar(1, *string_array)

def baz(x, *r)
end
baz(*string_array)

def qux(x, *r)
end
qux(1, *string_array)

def corge(*r, z)
end
corge(1, *string_array)

def grault(a, o=1, *r, z)
end
grault(*string_array)

__END__
# Classes
class Object
  def foo : (*String) -> nil
  def bar : (*Integer | String) -> nil
  def baz : (String, *String) -> nil
  def qux : (Integer, *String) -> nil
  def corge : (*Integer | String, Integer | String) -> nil
  def grault : (String, ?Integer | String, *String, String) -> nil
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
typeprof-0.7.0 smoke/rest3.rb
typeprof-0.6.1 smoke/rest3.rb
typeprof-0.6.0 smoke/rest3.rb
typeprof-0.5.4 smoke/rest3.rb
typeprof-0.5.3 smoke/rest3.rb
typeprof-0.5.2 smoke/rest3.rb
typeprof-0.5.1 smoke/rest3.rb
typeprof-0.5.0 smoke/rest3.rb
typeprof-0.4.2 smoke/rest3.rb
typeprof-0.4.1 smoke/rest3.rb
typeprof-0.4.0 smoke/rest3.rb
typeprof-0.3.0 smoke/rest3.rb