Sha256: c7f9385638fe367dff9e0d7b34f740333945ca99d11277ec73c0731c0ba32b94

Contents?: true

Size: 120 Bytes

Versions: 11

Compression:

Stored size: 120 Bytes

Contents

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

foo(1)
foo(nil)

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

Version data entries

11 entries across 11 versions & 1 rubygems

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