lib/typogrowth/string.rb in typogrowth-0.9.1 vs lib/typogrowth/string.rb in typogrowth-0.9.3

- old
+ new

@@ -5,13 +5,13 @@ class String # Typographyes the string and returns a result # See Typogrowth::Parser#parse def typo lang = nil - Typogrowth::Parser.parse(self, lang ? lang : I18n.locale) + Typogrowth::Parser.parse(self, lang: lang ? lang : I18n.locale) end # Typographyes the string inplace # See Typogrowth::Parser#parse! def typo! lang = nil - Typogrowth::Parser.parse!(self, lang ? lang : I18n.locale) + Typogrowth::Parser.parse!(self, lang: lang ? lang : I18n.locale) end end