diff --git a/lib/swedish_pin/personnummer.rb b/lib/swedish_pin/personnummer.rb index 3ec235b..ab533d7 100644 --- a/lib/swedish_pin/personnummer.rb +++ b/lib/swedish_pin/personnummer.rb @@ -8,6 +8,7 @@ module SwedishPIN # # @see https://en.wikipedia.org/wiki/Personal_identity_number_(Sweden) Personnummer on Wikipedia. class Personnummer + attr_reader :year, :month, :day, :sequence_number, :control_digit # @!attribute [r] year # The full year of the _personnummer_. For example +1989+. # @return [Integer] @@ -31,7 +32,6 @@ class Personnummer # The last digit of the _personnummer_. It acts as a checksum of the # previous numbers. # @return [Integer] - attr_reader :year, :month, :day, :sequence_number, :control_digit # @api private # @private diff --git a/lib/swedish_pin/version.rb b/lib/swedish_pin/version.rb index 00a0fd6..759cd04 100644 --- a/lib/swedish_pin/version.rb +++ b/lib/swedish_pin/version.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true module SwedishPIN + # The version number of this library. VERSION = "1.0.0" end