Method: Sass::Script::Value::Helpers#unquoted_string

Defined in:
lib/sass/script/value/helpers.rb

#unquoted_string(str) ⇒ Sass::Script::Value::String Also known as: identifier

Create an unquoted string.

Parameters:

  • str (::String)

    A ruby string.

Returns:

Since:

  • 3.3.0

[View source]

128
129
130
# File 'lib/sass/script/value/helpers.rb', line 128

def unquoted_string(str)
  Sass::Script::String.new(str, :identifier)
end