Sha256: c0af77a9f132faaa4473fa37e3a7953645ff531c272ac1f574fd210440d138a1

Contents?: true

Size: 151 Bytes

Versions: 18

Compression:

Stored size: 151 Bytes

Contents

def foo(x)
  if x
    42
  else
    "str"
  end
end

foo(true)
foo(false)

__END__
# Classes
class Object
  def foo : (bool) -> (Integer | String)
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
typeprof-0.7.0 smoke/demo1.rb
typeprof-0.6.1 smoke/demo1.rb
typeprof-0.6.0 smoke/demo1.rb
typeprof-0.5.4 smoke/demo1.rb
typeprof-0.5.3 smoke/demo1.rb
typeprof-0.5.2 smoke/demo1.rb
typeprof-0.5.1 smoke/demo1.rb
typeprof-0.5.0 smoke/demo1.rb
typeprof-0.4.2 smoke/demo1.rb
typeprof-0.4.1 smoke/demo1.rb
typeprof-0.4.0 smoke/demo1.rb
typeprof-0.3.0 smoke/demo1.rb
typeprof-0.2.0 smoke/demo1.rb
typeprof-0.1.4 smoke/demo1.rb
typeprof-0.1.3 smoke/demo1.rb
typeprof-0.1.2 smoke/demo1.rb
typeprof-0.1.1 smoke/demo1.rb
typeprof-0.1.0 smoke/demo1.rb