1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/lib/sass/tree/mixin_def_node.rb
2008-10-15 20:22:01 -07:00

18 lines
351 B
Ruby

module Sass
module Tree
class MixinDefNode < Node
def initialize(name, args, options)
@name = name
@args = args
super(options)
end
private
def _perform(environment)
environment.set_mixin(@name, Sass::Mixin.new(@name, @args, environment, children))
[]
end
end
end
end