Sha256: f0fdbe5f2bce7b1b6c98ed4a6cbe15d158d883ed0d51c00c3107f24e5dcf70f0

Contents?: true

Size: 224 Bytes

Versions: 14

Compression:

Stored size: 224 Bytes

Contents

def array(obj)
    Array(obj)
end

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

__END__
# Classes
class Object
  def array : (Array[Integer] | String | {Integer=>Integer}) -> (Array[Integer | String | {Integer=>Integer}])
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
typeprof-0.5.3 smoke/array11.rb
typeprof-0.5.2 smoke/array11.rb
typeprof-0.5.1 smoke/array11.rb
typeprof-0.5.0 smoke/array11.rb
typeprof-0.4.2 smoke/array11.rb
typeprof-0.4.1 smoke/array11.rb
typeprof-0.4.0 smoke/array11.rb
typeprof-0.3.0 smoke/array11.rb
typeprof-0.2.0 smoke/array11.rb
typeprof-0.1.4 smoke/array11.rb
typeprof-0.1.3 smoke/array11.rb
typeprof-0.1.2 smoke/array11.rb
typeprof-0.1.1 smoke/array11.rb
typeprof-0.1.0 smoke/array11.rb