module Sass::SCSS::RX
def self.escape_char(c)
- Private: -
Returns:
-
(String)
- The escaped character
Parameters:
-
c
(String
) -- The character to escape. Should have length 1
def self.escape_char(c) return "\\%06x" % c.ord unless c =~ %r{[ -/:-~]} "\\#{c}" end