mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
19 lines
351 B
Ruby
19 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
|