Sha256: 84902af89c5d8203eeaf04599ac2dfc55b097d3499e3e359ec1d2436d9fb4f72

Contents?: true

Size: 259 Bytes

Versions: 6

Compression:

Stored size: 259 Bytes

Contents

module BrDocuments
  module IE
    class Base
      def initialize(number)
        @number = number
      end

      def valid?
        valid_format? and valid_check_digit?
      end

      def formatted
        format_ie(@number)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
br_documents-0.2.5 lib/br_documents/ie/base.rb
br_documents-0.2.4 lib/br_documents/ie/base.rb
br_documents-0.2.3 lib/br_documents/ie/base.rb
br_documents-0.2.2 lib/br_documents/ie/base.rb
br_documents-0.2.1 lib/br_documents/ie/base.rb
br_documents-0.2.0 lib/br_documents/ie/base.rb