Sha256: d52b8e2036c113833ae0611ded213d63d773ed03dbb425b0e3ec31e283dc2bbc

Contents?: true

Size: 245 Bytes

Versions: 11

Compression:

Stored size: 245 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 obj) -> (Array[Hash[Integer, Integer] | Integer | String])
end

Version data entries

11 entries across 11 versions & 1 rubygems

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