Module: HadoopDsl::DslController
Overview
controller
Instance Method Summary collapse
Methods included from DslElement
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HadoopDsl::DslElement
Instance Method Details
#pre_process(body) ⇒ Object
24 25 26 |
# File 'lib/core.rb', line 24 def pre_process(body) body # do nothing end |
#run ⇒ Object
19 20 21 22 |
# File 'lib/core.rb', line 19 def run body = pre_process(HadoopDsl.read_file(@script)) eval(body, binding, @script) end |