Module: ActiveRecord::Acts::List::AuxMethodDefiner

Defined in:
lib/acts_as_list/active_record/acts/aux_method_definer.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.call(caller_class) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/acts_as_list/active_record/acts/aux_method_definer.rb', line 4

def self.call(caller_class)
  caller_class.class_eval do
    define_method :acts_as_list_class do
      caller_class
    end
  end
end