Sha256: e371458cbeb99a90f77cd0f5cf60ad1ee6cb206078607389fd1512822a0920bb

Contents?: true

Size: 176 Bytes

Versions: 4

Compression:

Stored size: 176 Bytes

Contents

# frozen_string_literal: true

Hash.class_eval do
  unless method_defined?(:no_keys?)
    # @see Enumerable#none?
    def no_keys?(...)
      keys.none?(...)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-rails-extensions-1.1.1 lib/ruby-rails-extensions/extensions/no_keys.rb
ruby-rails-extensions-1.1.1.pre.rc.1 lib/ruby-rails-extensions/extensions/no_keys.rb
ruby-rails-extensions-1.1.0 lib/ruby-rails-extensions/extensions/no_keys.rb
ruby-rails-extensions-1.1.0.pre.rc.1 lib/ruby-rails-extensions/extensions/no_keys.rb