Sha256: 4e2d36b7d5fc89bea89fbb9c14401aae1ac1b66fce94e3d0f1dbaaa8225d79bb

Contents?: true

Size: 250 Bytes

Versions: 21

Compression:

Stored size: 250 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord::Acts::List::AddNewAtMethodDefiner #:nodoc:
  def self.call(caller_class, add_new_at)
    caller_class.class_eval do
      define_method :add_new_at do
        add_new_at
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/acts_as_list-1.2.4/lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.2.4 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.2.3 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.2.2 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.2.1 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.2.0 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.1.0 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.0.4 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.0.3 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.0.2 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.0.1 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-1.0.0 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.19 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.18 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.17 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.16 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.15 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.14 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.13 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.12 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb