rut_chileno 0.1 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rut_chileno.rb +3 -1
- metadata +1 -1
data/lib/rut_chileno.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
module RUT
|
2
2
|
|
3
3
|
def digitoValido(dv)
|
4
4
|
['0','1','2','3','4','5','6','7','8','9','k','K'].include?(dv)
|
@@ -85,4 +85,6 @@ class RUT
|
|
85
85
|
#TODO
|
86
86
|
end
|
87
87
|
|
88
|
+
module_function :digitoValido, :getDigito, :digitoCorrecto, :quitarFormato, :validar
|
89
|
+
|
88
90
|
end
|