Sha256: 15009631bb3d72a0a5c647407077f56a0381d6f32b2da0ca8c11b3bfbf2bf05d

Contents?: true

Size: 189 Bytes

Versions: 11

Compression:

Stored size: 189 Bytes

Contents

def foo
  if block_given?
    yield 42
  else
    1.0
  end
end

foo
foo {|n| n.to_s }

__END__
# Classes
class Object
  private
  def foo: ?{ (Integer) -> String } -> (Float | String)
end

Version data entries

11 entries across 11 versions & 1 rubygems

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