Class: SandboxRuby

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

Overview

sandbox

modules need an execution space which I’m naming sandboxes sandboxes will contain the ruby interpreter, associated packages and pangea DSL code for the execution of a single module

Instance Method Summary collapse

Constructor Details

#initialize(base_dir:, name:, gemset:, version:) ⇒ SandboxRuby

Returns a new instance of SandboxRuby.



12
13
14
15
16
17
# File 'lib/pangea/sandbox.rb', line 12

def initialize(base_dir:, name:, gemset:, version:)
  @base_dir = base_dir
  @version  = version
  @name     = name
  @gemset   = gemset
end