Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.ruby.runtime/src/com/oracle/truffle/ruby/runtime/subsystems/FeatureManager.java @ 13645:497fada09efb
Ruby: remove versioning.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Wed, 15 Jan 2014 19:27:27 +0000 |
parents | 0fbee3eb71f0 |
children | 50c11b9a7fdf |
comparison
equal
deleted
inserted
replaced
13640:bfe7a8c8c3c6 | 13645:497fada09efb |
---|---|
33 } | 33 } |
34 | 34 |
35 public boolean require(String feature) throws IOException { | 35 public boolean require(String feature) throws IOException { |
36 // Some features are handled specially | 36 // Some features are handled specially |
37 | 37 |
38 if (context.getConfiguration().getRubyVersion().is19OrLater() && feature.equals("continuation")) { | 38 if (feature.equals("continuation")) { |
39 // We always load continuations | 39 // We always load continuations |
40 return true; | 40 return true; |
41 } | 41 } |
42 | 42 |
43 if (feature.equals("stringio")) { | 43 if (feature.equals("stringio")) { |