Just use Sass::Util.abstract.