Sha256: 8d2c0d8bcd27ddd33536686dc045f5248d3ea82ff06b63ea7181edbe80da8ae9

Contents?: true

Size: 203 Bytes

Versions: 11

Compression:

Stored size: 203 Bytes

Contents

def foo(x)
  42
end

def bar
  x = 1
  x = "str"
  x = :sym
ensure
  foo(x)
end

bar

__END__
# Classes
class Object
  private
  def foo: ((:sym | Integer | String)? x) -> Integer
  def bar: -> :sym
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/ensure1.rb
typeprof-0.15.3 smoke/ensure1.rb
typeprof-0.15.2 smoke/ensure1.rb
typeprof-0.15.1 smoke/ensure1.rb
typeprof-0.15.0 smoke/ensure1.rb
typeprof-0.14.1 smoke/ensure1.rb
typeprof-0.14.0 smoke/ensure1.rb
typeprof-0.13.0 smoke/ensure1.rb
typeprof-0.12.0 smoke/ensure1.rb
typeprof-0.11.0 smoke/ensure1.rb
typeprof-0.10.0 smoke/ensure1.rb