lib/adhearsion/foundation/blank_slate.rb in adhearsion-1.0.0 vs lib/adhearsion/foundation/blank_slate.rb in adhearsion-1.0.1
- old
+ new
@@ -1,3 +1,3 @@
class BlankSlate
- (instance_methods - %w{instance_eval object_id}).each { |m| undef_method m unless m =~ /^__/ }
-end
\ No newline at end of file
+ (instance_methods.map{|m| m.to_sym} - [:instance_eval, :object_id]).each { |m| undef_method m unless m.to_s =~ /^__/ }
+end