Method: Sass::Script::Tree::Variable#inspect

Defined in:
lib/sass/script/tree/variable.rb

#inspect(opts = {}) ⇒ String Also known as: to_sass

Returns A string representation of the variable.

Returns:

  • (String)

    A string representation of the variable


22
23
24
# File 'lib/sass/script/tree/variable.rb', line 22

def inspect(opts = {})
  "$#{dasherize(name, opts)}"
end