Sha256: 394d11120a0767710c3de32e902637da84392d7f2fd1a4cc6f5b88ba5506a935
Contents?: true
Size: 493 Bytes
Versions: 29
Compression:
Stored size: 493 Bytes
Contents
require 'spec/adapters/ruby_engine/mri' require 'spec/adapters/ruby_engine/rubinius' module Spec module Adapters module RubyEngine ENGINES = { 'mri' => MRI.new, 'rbx' => Rubinius.new } def self.engine if Object.const_defined?('RUBY_ENGINE') return Object.const_get('RUBY_ENGINE') else return 'mri' end end def self.adapter return ENGINES[engine] end end end end
Version data entries
29 entries across 29 versions & 8 rubygems