diff options
Diffstat (limited to 'spec/support/platforms.rb')
-rw-r--r-- | spec/support/platforms.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/support/platforms.rb b/spec/support/platforms.rb new file mode 100644 index 00000000..2598488b --- /dev/null +++ b/spec/support/platforms.rb @@ -0,0 +1,15 @@ +module Spec + module Platforms + def rb + Gem::Platform::RUBY + end + + def java + Gem::Platform.new [nil, "java", nil] + end + + def linux + Gem::Platform.new ['x86', 'linux', nil] + end + end +end
\ No newline at end of file |