Class: HmxClient::Command::Evaluator
- Inherits:
-
Object
- Object
- HmxClient::Command::Evaluator
- Defined in:
- lib/hmx/command/check.rb
Instance Method Summary collapse
-
#initialize(rootFolder) ⇒ Evaluator
constructor
A new instance of Evaluator.
- #runView(data, params) ⇒ Object
Constructor Details
#initialize(rootFolder) ⇒ Evaluator
Returns a new instance of Evaluator.
158 159 160 |
# File 'lib/hmx/command/check.rb', line 158 def initialize(rootFolder) $helper = ScriptHelper.new(rootFolder) end |
Instance Method Details
#runView(data, params) ⇒ Object
162 163 164 165 166 167 168 |
# File 'lib/hmx/command/check.rb', line 162 def runView(data, params) if (filter(data, params)) map(data, params) else nil end end |