Sha256: c02e01b248fbf5ee5ca1c68f4698f12623d4f634710455d610225fa7bd0e5081

Contents?: true

Size: 237 Bytes

Versions: 4

Compression:

Stored size: 237 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

4 entries across 4 versions & 1 rubygems

Version Path
typeprof-0.5.3 smoke/hash1.rb
typeprof-0.5.2 smoke/hash1.rb
typeprof-0.5.1 smoke/hash1.rb
typeprof-0.5.0 smoke/hash1.rb