Class: Sass::Script::Funcall

Inherits:
Node
  • Object
show all
Includes:
HasSimpleCrossBrowserFunctionSupport
Defined in:
lib/compass/core/sass_extensions/monkey_patches/browser_support.rb

Instance Method Summary collapse

Methods included from HasSimpleCrossBrowserFunctionSupport

#has_aspect?, #supports?

Instance Method Details

#sass_to_valueObject



98
# File 'lib/compass/core/sass_extensions/monkey_patches/browser_support.rb', line 98

alias sass_to_value to_value

#to_value(args) ⇒ Object



100
101
102
103
104
105
106
# File 'lib/compass/core/sass_extensions/monkey_patches/browser_support.rb', line 100

def to_value(args)
  if has_aspect?(args)
    CrossBrowserFunctionCall.new(name, args)
  else
    sass_to_value(args)
  end
end