class String

Public Instance Methods

to_gal() click to toggle source
# File lib/to_gal/extention/string.rb, line 2
def to_gal
  self.gsub(/(\p{hiragana}{2})\1/, '\1②').tr(*ToGal::Dictionary::TR_ARGS)
end