lib/phantomjs.rb in phantomjs-1.9.2.1 vs lib/phantomjs.rb in phantomjs-1.9.7.0

- old
+ new

@@ -11,9 +11,13 @@ def base_dir @base_dir ||= File.join(File.expand_path('~'), '.phantomjs', version) end + def base_dir=(dir) + @base_dir = dir + end + def version Phantomjs::VERSION.split('.')[0..-2].join('.') end def path