Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 4bb3b47

Browse files
committed
Merge pull request #39 from spreedly/master
Moved Code#iban from attr_accessor to attr_writer
2 parents c168ffb + 857322e commit 4bb3b47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lib/iso_country_codes/code.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def iban
4949
end
5050

5151
class << self
52-
attr_accessor :name, :numeric, :alpha2, :alpha3, :calling, :continent, :main_currency, :iban
53-
attr_writer :currencies
52+
attr_accessor :name, :numeric, :alpha2, :alpha3, :calling, :continent, :main_currency
53+
attr_writer :currencies, :iban
5454
alias_method :currency, :main_currency
5555
alias_method :calling_code, :calling
5656

0 commit comments

Comments
 (0)