Sha256: bb2fa263ca36cb2014c0c7cff1346b0137ee70b4640141cc619f2c11b09be6df
Contents?: true
Size: 517 Bytes
Versions: 27
Compression:
Stored size: 517 Bytes
Contents
module Sass::Script::Value # A SassScript object representing a function. class Function < Callable # Constructs a Function value for use in SassScript. # # @param function [Sass::Callable] The callable to be used when the # function is invoked. def initialize(function) unless function.type == "function" raise ArgumentError.new("A callable of type function was expected.") end super end def to_sass %{get-function("#{value.name}")} end end end
Version data entries
27 entries across 27 versions & 3 rubygems