aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/platforms.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/platforms.rb')
-rw-r--r--spec/support/platforms.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/spec/support/platforms.rb b/spec/support/platforms.rb
index 2598488b..09f4dcda 100644
--- a/spec/support/platforms.rb
+++ b/spec/support/platforms.rb
@@ -1,15 +1,19 @@
module Spec
module Platforms
def rb
- Gem::Platform::RUBY
+ %|Gem::Platform::RUBY|
end
def java
- Gem::Platform.new [nil, "java", nil]
+ %|Gem::Platform.new([nil, "java", nil])|
end
def linux
- Gem::Platform.new ['x86', 'linux', nil]
+ %|Gem::Platform.new(['x86', 'linux', nil])|
+ end
+
+ def mswin
+ %|Gem::Platform.new(['x86', 'mswin32', nil])|
end
end
end \ No newline at end of file