lib/ramdo/ramdisk/factory.rb in ramdo-0.1.1 vs lib/ramdo/ramdisk/factory.rb in ramdo-0.1.2
- old
+ new
@@ -1,16 +1,16 @@
module Ramdo
module Ramdisk
class Factory
def self.get
- if RUBY_PLATFORM =~ /linux_not_implemented_yet/
+ if RUBY_PLATFORM =~ /linux/
LinuxWrapper.new
elsif RUBY_PLATFORM =~ /darwin/
DarwinWrapper.new
else
raise OSNotSupportedException.new("Could not find Ramdisk wrapper for #{RUBY_PLATFORM}")
end
end
end
end
-end
\ No newline at end of file
+end