Class: HmxClient::Command::Evaluator

Inherits:
Object
  • Object
show all
Defined in:
lib/hmx/command/check.rb

Instance Method Summary collapse

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