Sha256: 1e470f7413e78e857a4772e048ccc7884efd4e57663e23f8a436d37678778669

Contents?: true

Size: 264 Bytes

Versions: 15

Compression:

Stored size: 264 Bytes

Contents

# @type var b: Array[String]
# @type var c: Array[Integer]

a = [1]

b = a.each.with_object([]) do |i, xs|
  xs << i.to_s
end

c = a.each.with_object([]) do |i, xs|
  xs << i.to_s
end

# @type var d: String
d = a.each.with_object([]) do |i, xs|
  xs << i.to_s
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
steep-1.6.0 smoke/enumerator/b.rb
steep-1.6.0.pre.4 smoke/enumerator/b.rb
steep-1.6.0.pre.3 smoke/enumerator/b.rb
steep-1.6.0.pre.2 smoke/enumerator/b.rb
steep-1.6.0.pre.1 smoke/enumerator/b.rb
steep-1.5.3 smoke/enumerator/b.rb
steep-1.5.2 smoke/enumerator/b.rb
steep-1.5.1 smoke/enumerator/b.rb
steep-1.5.0 smoke/enumerator/b.rb
steep-1.5.0.pre.6 smoke/enumerator/b.rb
steep-1.5.0.pre.5 smoke/enumerator/b.rb
steep-1.5.0.pre.4 smoke/enumerator/b.rb
steep-1.5.0.pre.3 smoke/enumerator/b.rb
steep-1.5.0.pre.2 smoke/enumerator/b.rb
steep-1.5.0.pre.1 smoke/enumerator/b.rb