Remove warnings by calling remove_method

This commit is contained in:
Franck Verrot
2011-07-31 20:05:58 +02:00
parent 3c4c281ed0
commit 325fdfc928

View File

@@ -9,6 +9,7 @@ class Contact
attr_accessor :address, :friends
remove_method :attributes
def attributes
instance_values.except("address", "friends")
end