Class: BrDocuments::IE::RR
- Defined in:
- lib/br_documents/ie/rr.rb
Instance Method Summary collapse
-
#initialize(number) ⇒ RR
constructor
A new instance of RR.
Methods included from Commons::Mod11
Methods inherited from Base
Constructor Details
#initialize(number) ⇒ RR
Returns a new instance of RR.
6 7 8 9 10 |
# File 'lib/br_documents/ie/rr.rb', line 6 def initialize(number) super @mask = /^(\d{8}\-\d{1})$|^(\d{9})$/ @weight = [1, 2, 3, 4, 5, 6, 7, 8] end |