Sha256: 1a66595d5d2d74473c9898aa6d3874c17e57e74e3d3b72c399920f49b9ee6e18

Contents?: true

Size: 137 Bytes

Versions: 106

Compression:

Stored size: 137 Bytes

Contents

class Array
  def insert_last(element)
    self + [element]
  end
end

class NilClass
  def insert_last(element)
    [element]
  end
end

Version data entries

106 entries across 106 versions & 2 rubygems

Version Path
mumuki-domain-7.5.1 lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.5.0 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-acb12583b793/lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.5.0 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.4.1 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.4.0 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.3.2 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.3.1 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.2.3 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.3.0 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.2.2 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.2.1 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.2.0 lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.1.0 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-925adf85cca8/lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.1.0 lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.0.12 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-74da3d4af98c/lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.0.6 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.0.5 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.0.4 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.0.3 lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.0.11 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-f892f79c60f0/lib/mumuki/domain/extensions/array.rb