Sha256: 66d4fc8fd5c497168b884acef9298f0c9c5f2eaa3d53d0a0218d4e44d054a4e8

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

require File.join(File.dirname(__FILE__), "class_methods.rb")
require File.join(File.dirname(__FILE__), "instance_methods.rb")

module ActsAsList
  def self.included base
    base.extend ClassMethods
  end
  include InstanceMethods
end

ActiveRecord::Base.class_eval { include ActsAsList }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aeonscope-acts_as_list-1.0.0 lib/acts_as_list.rb