Class: BigRecord::ArReflection::ArAggregateReflection

Inherits:
MacroReflection show all
Defined in:
lib/big_record/ar_reflection.rb

Overview

Holds all the meta-data about an aggregation as it was specified in the Active Record class.

Instance Method Summary

Methods inherited from MacroReflection

#==, #class_name, #initialize, #macro, #name, #options

Constructor Details

This class inherits a constructor from BigRecord::ArReflection::MacroReflection

Instance Method Details

- (Object) klass



112
113
114
# File 'lib/big_record/ar_reflection.rb', line 112

def klass
  @klass ||= Object.const_get(options[:class_name] || class_name)
end