Class: CommonNumbers::Polish::Regon
- Inherits:
-
Object
- Object
- CommonNumbers::Polish::Regon
- Defined in:
- lib/common_numbers/regon.rb
Instance Method Summary collapse
-
#initialize(num) ⇒ Regon
constructor
A new instance of Regon.
- #valid? ⇒ Boolean
Constructor Details
Instance Method Details
#valid? ⇒ Boolean
18 19 20 21 |
# File 'lib/common_numbers/regon.rb', line 18 def valid? return @factory.valid? if @factory false end |