Sha256: 4566f55ecb31efcbfe92c551d113be490ad51c8649ef6e4cf5e5e5d12b5e6292

Contents?: true

Size: 241 Bytes

Versions: 3

Compression:

Stored size: 241 Bytes

Contents

def array(obj)
    Array(obj)
end

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.9.2 smoke/array11.rb
typeprof-0.9.1 smoke/array11.rb
typeprof-0.9.0 smoke/array11.rb