Class: AndAnd::BlankSlate
- Inherits:
- BasicObject
- Defined in:
- lib/andand.rb,
lib/andand.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ BlankSlate
constructor
A new instance of BlankSlate.
Constructor Details
#initialize ⇒ BlankSlate
Returns a new instance of BlankSlate.
113 114 115 |
# File 'lib/andand.rb', line 113 def initialize BlankSlate.wipe end |
Class Method Details
.wipe ⇒ Object
110 111 112 |
# File 'lib/andand.rb', line 110 def self.wipe instance_methods.reject { |m| m =~ /^__/ }.each { |m| undef_method m } end |