Sha256: 104063af38edb74eebb705bec07252e164dfc7be085a1859b8d89221cbcd0eec

Contents?: true

Size: 265 Bytes

Versions: 5

Compression:

Stored size: 265 Bytes

Contents

require 'active_record'
require 'acts_as_keyed/errors'
require 'acts_as_keyed/class_methods'
require 'acts_as_keyed/instance_methods'

module ActsAsKeyed
  def self.included(base)
    base.extend ClassMethods
  end
end

ActiveRecord::Base.send :include, ActsAsKeyed

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
acts_as_keyed-1.0.0 lib/acts_as_keyed.rb
acts_as_keyed-0.1.3 lib/acts_as_keyed.rb
acts_as_keyed-0.1.2 lib/acts_as_keyed.rb
acts_as_keyed-0.1.1 lib/acts_as_keyed.rb
acts_as_keyed-0.1.0 lib/acts_as_keyed.rb