Detect method additions to Kernel and remove them in the BlankSlate class.
Source Code
# File blankslate.rb, line 65 def method_added(name) result = blank_slate_method_added(name) return result if self != Kernel BlankSlate.hide(name) result end
Detect method additions to Kernel and remove them in the BlankSlate class.
# File blankslate.rb, line 65 def method_added(name) result = blank_slate_method_added(name) return result if self != Kernel BlankSlate.hide(name) result end
<code/>and<pre/>for code samples.