= private = protected
klass()
Returns the class for the macro.
composed_of :balance, class_name: 'Money' returns the Money class has_many :clients returns the Client class
# File activerecord/lib/active_record/reflection.rb, line 296 def klass @klass ||= compute_class(class_name) end