The context in which the ERB for {#def_static_method} will be run.
@param set [include?] The set of variables that are defined for this context.
# File lib/sass/util.rb, line 758 def initialize(set) @set = set end
Checks whether or not a variable is defined for this context.
@param name [Symbol] The name of the variable @return [Boolean]
# File lib/sass/util.rb, line 766 def method_missing(name, *args, &block) super unless args.empty? && block.nil? @set.include?(name) end