app/core_ext/string.rb
def single_quote

    I18n.t 'support.string.single_quoted', string: self, default: self

  end
# Returns a single-quoted version of the string in the appropriate locale.
Returns a single-quoted version of the string in the appropriate locale.
Returns a single - quoted version of the string in the appropriate locale .
def single_quote
    I18n.t 'support.string.single_quoted', string: self, default: self
  end
def single_quote I18n . t 'support.string.single_quoted' , string : self , default : self end
Returns a single-quoted version of the string in the appropriate locale.
Returns a single - quoted version of the string in the appropriate locale .