localyzed 0.0.1.1 → 0.0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/localyzed/base.rb +5 -1
- data/lib/localyzed/version.rb +1 -1
- metadata +1 -1
data/lib/localyzed/base.rb
CHANGED
@@ -3,7 +3,11 @@ module Localyzed
|
|
3
3
|
mattr_accessor :user_interface
|
4
4
|
|
5
5
|
def self.configure(config)
|
6
|
-
@@user_interface = config[:user_interface]
|
6
|
+
@@user_interface = config[:user_interface] || nil
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.user_interface
|
10
|
+
@@user_interface.constantize
|
7
11
|
end
|
8
12
|
|
9
13
|
def self.localyze_routes(translations_file,options={})
|
data/lib/localyzed/version.rb
CHANGED