summaryrefslogtreecommitdiff
path: root/lib/utils/diag.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/diag.rb')
-rw-r--r--lib/utils/diag.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/utils/diag.rb b/lib/utils/diag.rb
new file mode 100644
index 0000000..fd37945
--- /dev/null
+++ b/lib/utils/diag.rb
@@ -0,0 +1,11 @@
+=begin
+* Name: diag.rb
+* Description: Diagnostic tools
+* Author: Andreas Maunz <andreas@maunz.de>
+* Date: 10/2012
+=end
+
+# Print a diagnostic message
+def uri_list
+ puts "My load path is:\n#{$LOAD_PATH.join("\n")} \nI have loaded #{$LOADED_FEATURES.size} objects.\n\n"
+end