Sha256: 2cad4c212639e355ad55693c89c65272a56c42b899b8ff0b06caea42e169bded

Contents?: true

Size: 209 Bytes

Versions: 6

Compression:

Stored size: 209 Bytes

Contents

# frozen_string_literal: true

Enumerable.class_eval do
  if method_defined?(:compact_blank_join) && !method_defined?(:select_present_join)
    alias_method :select_present_join, :compact_blank_join
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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