Sha256: b41064c073f78170419a50e288dc5098b83cb0a5d8f574a967b81ef0cb968b4a

Contents?: true

Size: 131 Bytes

Versions: 11

Compression:

Stored size: 131 Bytes

Contents

def foo(n)
  n = n || 42
  n
end

foo(1)
foo(nil)

__END__
# Classes
class Object
  private
  def foo: (Integer? n) -> Integer
end

Version data entries

11 entries across 11 versions & 1 rubygems

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