Sha256: 39610fd00b3f19b87f52b6464567fd4fd43e29a10aea867ebfce6ff9aed69a56

Contents?: true

Size: 386 Bytes

Versions: 7

Compression:

Stored size: 386 Bytes

Contents

require_relative '../shared/nested'

module MoreCoreExtensions
  module ArrayNested
    include MoreCoreExtensions::Shared::Nested
    extend  MoreCoreExtensions::Shared::Nested

    def delete_blank_paths
      self.each { |v| v.delete_blank_paths if v.respond_to?(:delete_blank_paths) }
      self.delete_blanks
    end
  end
end

Array.send(:include, MoreCoreExtensions::ArrayNested)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
more_core_extensions-3.1.0 lib/more_core_extensions/core_ext/array/nested.rb
more_core_extensions-3.0.0 lib/more_core_extensions/core_ext/array/nested.rb
more_core_extensions-2.0.0 lib/more_core_extensions/core_ext/array/nested.rb
more_core_extensions-1.2.0 lib/more_core_extensions/core_ext/array/nested.rb
more_core_extensions-1.1.2 lib/more_core_extensions/core_ext/array/nested.rb
more_core_extensions-1.1.1 lib/more_core_extensions/core_ext/array/nested.rb
more_core_extensions-1.1.0 lib/more_core_extensions/core_ext/array/nested.rb