lib/inch/evaluation/proxy.rb in inch-0.5.0.rc5 vs lib/inch/evaluation/proxy.rb in inch-0.5.0.rc6
- old
+ new
@@ -138,14 +138,13 @@
# @return [Fixnum]
def __priority
@roles.reduce(0) { |sum, r| sum + r.priority.to_i }
end
- private
-
def self.class_for(language, code_object)
- class_name = code_object.class.to_s.split("::").last
+ class_name = code_object.class.to_s.split('::').last
Config.namespace(language, :Evaluation).const_get(class_name)
end
+ private_class_method :class_for
end
end
end