lib/phrase/config.rb in phrase-0.0.6 vs lib/phrase/config.rb in phrase-0.0.7
- old
+ new
@@ -29,7 +29,23 @@
def available_locales=(locales)
@@available_locales = Array(locales).map { |locale| locale.to_sym }
@@available_locales = nil if @@available_locales.empty?
end
+
+ def prefix
+ @@prefix ||= "{{__"
+ end
+
+ def prefix=(prefix)
+ @@prefix = prefix
+ end
+
+ def suffix
+ @@suffix ||= "__}}"
+ end
+
+ def suffix=(suffix)
+ @@suffix = suffix
+ end
end
end