lib/magick_numbers/regon.rb in magick_numbers-0.1.3 vs lib/magick_numbers/regon.rb in magick_numbers-0.1.4
- old
+ new
@@ -1,5 +1,6 @@
module MagickNumbers
+
class Regon
def initialize(num)
@factory = if(/^\d{9}$/ =~ num)
Regon9.new num