about summary refs log tree commit homepage
path: root/lib/yahns/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/config.rb')
-rw-r--r--lib/yahns/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/config.rb b/lib/yahns/config.rb
index 01fcac7..88af2de 100644
--- a/lib/yahns/config.rb
+++ b/lib/yahns/config.rb
@@ -135,7 +135,7 @@ class Yahns::Config # :nodoc:
   # for error checking and cannot be undone by unsetting it in the
   # configuration file and reloading.
   def working_directory(path)
-    var = :working_directory
+    var = _check_in_block(nil, :working_directory)
     @app_ctx.empty? or
       raise ArgumentError, "#{var} must be declared before any apps"