Module: RubyBox

Extended by:
RubyBox
Included in:
RubyBox
Defined in:
lib/ruby_box.rb,
lib/ruby_box/error.rb,
lib/ruby_box/metal.rb,
lib/ruby_box/version.rb,
lib/ruby_box/bindings.rb,
lib/ruby_box/bridging.rb,
lib/ruby_box/execution.rb,
lib/ruby_box/boxed_error.rb,
lib/ruby_box/thread_safety.rb,
lib/ruby_box/timeout_error.rb,
lib/ruby_box/execution_error.rb,
lib/ruby_box/compilation_error.rb,
lib/ruby_box/runtime_environment.rb

Defined Under Namespace

Modules: Bindings, Bridging, Execution, RuntimeEnvironment, ThreadSafety Classes: BoxedError, CompilationError, Error, ExecutionError, Metal, TimeoutError

Constant Summary collapse

VERSION =
'0.0.0'

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.boxed?Boolean

Returns:

  • (Boolean)

18
19
20
# File 'lib/ruby_box.rb', line 18

def self.boxed?
  false
end

.currentObject


22
23
24
# File 'lib/ruby_box.rb', line 22

def self.current
  nil
end

Instance Method Details

#execute(*args, &block) ⇒ Object


26
27
28
# File 'lib/ruby_box.rb', line 26

def execute(*args, &block)
  Metal.execute(*args, &block)
end