Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/activerecord-traits.rb

Class Method Summary collapse

Class Method Details

.traitsObject



21
22
23
# File 'lib/activerecord-traits.rb', line 21

def self.traits
  @traits ||= Traits::Model.new(self)
end