Sha256: 857c96b3a137f92be9a3a42f30b2e2ead8fb7d161258d33da17fb85dd32c459e

Contents?: true

Size: 232 Bytes

Versions: 4

Compression:

Stored size: 232 Bytes

Contents

def array(obj)
    Array(obj)
end

array({1=>1})
array([1]+[2])
array("foo")

__END__
# Classes
class Object
  def array : (Array[Integer] | Hash[Integer, Integer] | String) -> (Array[Hash[Integer, Integer] | Integer | String])
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typeprof-0.7.0 smoke/array11.rb
typeprof-0.6.1 smoke/array11.rb
typeprof-0.6.0 smoke/array11.rb
typeprof-0.5.4 smoke/array11.rb