Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Privatize.

  • Loading branch information...
commit 86acc9d34eca7dd8acd50a0706fddd17756f8018 1 parent 2c09a2f
Gabe Berke-Williams authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/law_of_demeter_violator/violator.rb
2  lib/law_of_demeter_violator/violator.rb
View
@@ -28,6 +28,8 @@ def violate
end
end
+ private
+
def methods_to_violate
@class_to_be_violated.instance_methods(false)
end
Please sign in to comment.
Something went wrong with that request. Please try again.