README.rdoc in method_info-0.1.4 vs README.rdoc in method_info-0.1.5
- old
+ new
@@ -14,11 +14,16 @@
* :method_missing (default: false)
* :public_methods (default: true)
* :protected_methods (default: false)
* :private_methods (default: false)
* :singleton_methods (default: true)
-* :include_name_of_excluded_ancestors (default: true)
+* :include_names_of_excluded_ancestors (default: true)
+* :include_names_of_methodless_ancestors (default: true)
* :enable_colors (default: false)
+* :class_color Set colour for a line printing out a class (only used when :enable_colors is true)
+* :module_color Set colour for a line printing out a module (only used when :enable_colors is true)
+* :message_color Set colour for a line with a message (only used when :enable_colors is true)
+* :methods_color Set colour for a line with methods (only used when :enable_colors is true)
You can set default options which will override the inbuild defaults. Here is an example which
will hide the methods defined on all instances of Object and show colour in the output (this
requires the ansi-termcolor gem):
MethodInfo::OptionHandler.default_options = {