Module: Groupdate::Relation

Extended by:
ActiveSupport::Concern
Defined in:
lib/groupdate/relation.rb

Instance Method Summary collapse

Instance Method Details

#calculate(*args, &block) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/groupdate/relation.rb', line 11

def calculate(*args, &block)
  if groupdate_values
    Groupdate::Magic::Relation.process_result(self, super)
  else
    super
  end
end