Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make Translate::Storage constructor insensitive to whether locale is …

…string or symbol
  • Loading branch information...
commit 29133eec590260cf40949c66d7f80bb52d9efe13 1 parent 9287e2f
Peter Marklund authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/translate/storage.rb
View
2  lib/translate/storage.rb
@@ -2,7 +2,7 @@ class Translate::Storage
attr_accessor :locale
def initialize(locale)
- self.locale = locale
+ self.locale = locale.to_sym
end
def write_to_file
Please sign in to comment.
Something went wrong with that request. Please try again.