Permalink
Browse files

Privatize.

  • Loading branch information...
1 parent 2c09a2f commit 86acc9d34eca7dd8acd50a0706fddd17756f8018 @gabebw committed Jan 31, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/law_of_demeter_violator/violator.rb
View
2 lib/law_of_demeter_violator/violator.rb
@@ -28,6 +28,8 @@ def violate
end
end
+ private
+
def methods_to_violate
@class_to_be_violated.instance_methods(false)
end

0 comments on commit 86acc9d

Please sign in to comment.