lib/ardb/root_path.rb in ardb-0.26.0 vs lib/ardb/root_path.rb in ardb-0.27.0

- old
+ new

@@ -1,12 +1,15 @@ # This takes a path string relative to the configured root path and tranforms # to the full qualifed root path. The goal here is to specify path options # with root-relative path strings. -module Ardb; end -class Ardb::RootPath < String +module Ardb - def initialize(path_string) - super(Ardb.config.root_path.join(path_string).to_s) + class RootPath < String + + def initialize(path_string) + super(Ardb.config.root_path.join(path_string).to_s) + end + end end