Module: RubyBox::RuntimeEnvironment
- Extended by:
- ActiveSupport::Concern
- Included in:
- Metal
- Defined in:
- lib/ruby_box/runtime_environment.rb
Instance Method Summary collapse
Instance Method Details
#builder ⇒ Object
51 52 53 |
# File 'lib/ruby_box/runtime_environment.rb', line 51 def builder @builder ||= self.class.builder.dup end |
#execute(source) ⇒ Object
55 56 57 58 59 |
# File 'lib/ruby_box/runtime_environment.rb', line 55 def execute(source) execute_newly_processed_dependencies { builder.build_str source, '(execute)' } rescue SyntaxError => error raise CompilationError, error. end |