Class: ActiveReporter::Evaluator::Block

Inherits:
Base
  • Object
show all
Defined in:
lib/active_reporter/evaluator/block.rb

Instance Attribute Summary

Attributes inherited from Base

#name, #opts, #report

Instance Method Summary collapse

Methods inherited from Base

#default_value, #initialize

Constructor Details

This class inherits a constructor from ActiveReporter::Evaluator::Base

Instance Method Details

#evaluate(*args) ⇒ Object



4
5
6
# File 'lib/active_reporter/evaluator/block.rb', line 4

def evaluate(*args)
  block.call(*args)
end