lib/picky/character_substituters/west_european.rb in picky-4.4.1 vs lib/picky/character_substituters/west_european.rb in picky-4.4.2

- old
+ new

@@ -10,11 +10,11 @@ # ä, ö, ü => ae, oe, ue. # (and more, see specs) # class WestEuropean - def initialize # :nodoc: + def initialize @chars = ActiveSupport::Multibyte.proxy_class end # Substitutes occurrences of certain characters # (like Umlauts) with ASCII representations of them. @@ -43,10 +43,10 @@ trans.unpack('U*').select { |cp| cp < 0x0300 || cp > 0x035F }.pack 'U*' end - def to_s # :nodoc: + def to_s self.class.name end end \ No newline at end of file