Class: Rube::EvalContext

Inherits:
Object
  • Object
show all
Defined in:
lib/rube.rb

Overview

Class and procedure to provide context for evaluation of tasks: ruby inline code, requires, and erb templates

Instance Method Summary collapse

Instance Method Details

#sandboxObject

All tasks are executed in the sandbox



62
63
64
# File 'lib/rube.rb', line 62

def sandbox
  return binding
end