Permalink
Browse files

Make define_type_validator private

Don't expose define_type_validator outside of the module
  • Loading branch information...
1 parent 42faea4 commit 4f50727a030a12fc0809be98d197351b99076cd9 @christoffer christoffer committed Apr 17, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/params_validator/validator/type.rb
@@ -4,6 +4,7 @@ module Validator
private
module Base
+ private
def define_type_validator(type_name, &block)
@type_name = type_name
@block = block

0 comments on commit 4f50727

Please sign in to comment.