Sha256: c6c0961a3f5911c7c493c39fc4d4cf3ddb42818845dbb8d32d320cd811af4ad8

Contents?: true

Size: 239 Bytes

Versions: 10

Compression:

Stored size: 239 Bytes

Contents

def foo
  { int: 1, str: "str" }
end

foo

def bar
  { 1 => 1, 2 => "str", "s" => "s" }
end

bar

__END__
# Classes
class Object
  def foo : -> {:int=>Integer, :str=>String}
  def bar : -> ({Integer=>Integer | String, String=>String})
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
typeprof-0.4.2 smoke/hash1.rb
typeprof-0.4.1 smoke/hash1.rb
typeprof-0.4.0 smoke/hash1.rb
typeprof-0.3.0 smoke/hash1.rb
typeprof-0.2.0 smoke/hash1.rb
typeprof-0.1.4 smoke/hash1.rb
typeprof-0.1.3 smoke/hash1.rb
typeprof-0.1.2 smoke/hash1.rb
typeprof-0.1.1 smoke/hash1.rb
typeprof-0.1.0 smoke/hash1.rb