class Sass::Script::Value::Function

A SassScript object representing a function.

def initialize(function)

Parameters:
  • function (Sass::Callable) -- The callable to be used when the
def initialize(function)
  unless function.type == "function"
    raise ArgumentError.new("A callable of type function was expected.")
  end
  super
end

def to_sass

def to_sass
  %{get-function("#{value.name}")}
end