Since Ruby is very dynamic, methods added to the ancestors of BlankSlate after BlankSlate is defined will show up in the list of available BlankSlate methods. We handle this by defining a hook in the Object and Kernel classes that will hide any method defined after BlankSlate has been loaded.
Detect method additions to Kernel and remove them in the BlankSlate class.
# File lib/blankslate.rb, line 65 65: def method_added(name) 66: result = blank_slate_method_added(name) 67: return result if self != Kernel 68: BlankSlate.hide(name) 69: result 70: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.