Class: Reporter::Field::CountField

Inherits:
CalculationField
  • Object
show all
Defined in:
lib/reporter/field/count_field.rb

Instance Method Summary collapse

Constructor Details

#initialize(structure, alias_name, data_source, *args, &block) ⇒ CountField

Returns a new instance of CountField.



3
4
5
6
7
# File 'lib/reporter/field/count_field.rb', line 3

def initialize structure, alias_name, data_source, *args, &block
	options = args.extract_options!
	column = args.first
	super structure, alias_name, data_source, :count, column, options, &block
end