Sha256: 964fcd7b6edde697efdbf19aba66f6000221ff0bb27dbb59cfcd10f4cc11bd57

Contents?: true

Size: 243 Bytes

Versions: 21

Compression:

Stored size: 243 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord::Acts::List::AuxMethodDefiner #:nodoc:
  def self.call(caller_class)
    caller_class.class_eval do
      define_method :acts_as_list_class do
        caller_class
      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/aux_method_definer.rb
acts_as_list-1.2.4 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-1.2.3 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-1.2.2 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-1.2.1 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-1.2.0 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-1.1.0 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-1.0.4 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-1.0.3 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-1.0.2 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-1.0.1 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-1.0.0 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-0.9.19 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-0.9.18 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-0.9.17 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-0.9.16 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-0.9.15 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-0.9.14 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-0.9.13 lib/acts_as_list/active_record/acts/aux_method_definer.rb
acts_as_list-0.9.12 lib/acts_as_list/active_record/acts/aux_method_definer.rb