lib/ascii_binder/helpers.rb in ascii_binder-0.1.15.1 vs lib/ascii_binder/helpers.rb in ascii_binder-0.1.15.2
- old
+ new
@@ -52,9 +52,13 @@
def docs_root_dir
AsciiBinder::DOCS_ROOT_DIR
end
+ def set_depth(user_depth)
+ AsciiBinder.const_set("DEPTH", user_depth)
+ end
+
def set_log_level(user_log_level)
AsciiBinder.const_set("LOG_LEVEL", log_levels[user_log_level])
end
def log_levels