Class: SpecGuard
Overview
- Waiting for: https://github.com/rubyspec/mspec/pull/40
Instance Method Summary collapse
Instance Method Details
#implementation?(*args) ⇒ Boolean
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'opal/lib/mspec/opal/mspec_fixes.rb', line 63 def implementation?(*args) args.any? do |name| !!case name when :rubinius RUBY_NAME =~ /^rbx/ when :ruby RUBY_NAME =~ /^ruby/ when :jruby RUBY_NAME =~ /^jruby/ when :ironruby RUBY_NAME =~ /^ironruby/ when :macruby RUBY_NAME =~ /^macruby/ when :maglev RUBY_NAME =~ /^maglev/ when :topaz RUBY_NAME =~ /^topaz/ when :opal RUBY_NAME =~ /^opal/ else false end end end |