Sha256: 1d086b01a3da864b0456dd122d222e02c7332ca19183cdabe7eb7684b44afbb7

Contents?: true

Size: 224 Bytes

Versions: 17

Compression:

Stored size: 224 Bytes

Contents

# frozen_string_literal: true

Enumerable.class_eval do
  # @see `compact_blank`
  def select_present(...)
    compact_blank(...)
  end

  # @see `compact_blank!`
  def select_present!(...)
    compact_blank!(...)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ruby-rails-extensions-2.1.1 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.14 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.13 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.12 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.11 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.10 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.9 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.8 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.7 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.6 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.5 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.4 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.3 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.2 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.1.0.pre.rc.1 lib/ruby-rails-extensions/extensions/select_present.rb
ruby-rails-extensions-2.0.1 lib/ruby-rails-extensions/extensions/select_present.rb