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.10.1 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.10.0 lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.9.2 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-7082a83493eb/lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.9.2 lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.9.1 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-b162dc91aa77/lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.9.1 lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.9.0 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-520f859ca8af/lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.9.0 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.7.3 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.8.1 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.8.0 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.7.2 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.7.1 lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.7.1 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-cb7a9018bb94/lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.7.0 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-cb7a9018bb94/lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.7.0 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.6.1 lib/mumuki/domain/extensions/array.rb
mumuki-domain-7.6.0 lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.5.2 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-ad16a5930cec/lib/mumuki/domain/extensions/array.rb
mumuki-laboratory-7.5.1 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-a059418e5fd8/lib/mumuki/domain/extensions/array.rb