lib/prc.rb in lorj-1.0.0 vs lib/prc.rb in lorj-1.0.1
- old
+ new
@@ -117,10 +117,10 @@
# TODO: Support for several defaults, depending on controllers loaded.
def app_defaults=(v)
return if @app_defaults
- v = File.join(File.dirname(__FILE__), v) unless v[0] == '/'
+ v = File.join(File.dirname(__FILE__), v) unless v.include?('/')
@app_defaults = File.expand_path(v)
end
def log_file=(v)