lib/ibandit.rb in ibandit-0.3.5 vs lib/ibandit.rb in ibandit-0.3.6
- old
+ new
@@ -6,10 +6,11 @@
require 'ibandit/iban_splitter'
require 'ibandit/iban_assembler'
require 'ibandit/local_details_cleaner'
require 'ibandit/check_digit'
-I18n.load_path += Dir['config/locale/*.yml']
+I18n.load_path += Dir[File.expand_path('../../config/locales/*.{rb,yml}',
+ __FILE__)]
module Ibandit
class << self
attr_accessor :bic_finder, :modulus_checker