Sha256: b9e467a5a34b46b600b7ea8adbaf68fd1267ccdd2f10553ec3716d58ea4773e2

Contents?: true

Size: 597 Bytes

Versions: 3

Compression:

Stored size: 597 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
  private
  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

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.9.2 smoke/rest3.rb
typeprof-0.9.1 smoke/rest3.rb
typeprof-0.9.0 smoke/rest3.rb