lib/screw_server/base.rb in screw_server-0.1.7 vs lib/screw_server/base.rb in screw_server-0.1.8
- old
+ new
@@ -1,21 +1,21 @@
module ScrewServer
module Base
def self.spec_base_dir=(d)
raise "expected a directory with javascript specs under #{d}" unless File.exists?(d)
- @spec_base_dir = d
+ @spec_base_dir = Pathname(d)
end
def self.spec_base_dir
@spec_base_dir
end
def self.code_base_dir=(d)
raise "expected a directory with javascript code under #{d}" unless File.exists?(d)
- @code_base_dir = d
+ @code_base_dir = Pathname(d)
end
def self.code_base_dir
@code_base_dir
end
end
-end
\ No newline at end of file
+end