Sha256: 72d26031d9861673a436b34a3f371925b2c6a53c6e938862b69e337f6499188d

Contents?: true

Size: 219 Bytes

Versions: 12

Compression:

Stored size: 219 Bytes

Contents

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

12 entries across 12 versions & 2 rubygems

Version Path
acts_as_list-0.9.10 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.9 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.8 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.7 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.6 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/acts_as_list-0.9.5/lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.5 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.4 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.3 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.2 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.1 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
acts_as_list-0.9.0 lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb