Module: BigRecord::AttributeMethods

Defined in:
lib/big_record/attribute_methods.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods

Constant Summary

DEFAULT_SUFFIXES =
%w(= ? _before_type_cast)

Class Method Summary

Class Method Details

+ (Object) included(base)



5
6
7
8
# File 'lib/big_record/attribute_methods.rb', line 5

def self.included(base)
  base.extend ClassMethods
  base.attribute_method_suffix(*DEFAULT_SUFFIXES)
end