Class: Sass::Tree::MixinNode

Inherits:
Node show all
Defined in:
lib/sass/tree/mixin_node.rb

Overview

A dynamic node representing a mixin include.

See Also:

Instance Attribute Summary

Attributes inherited from Node

#children, #filename, #line, #options

Instance Method Summary collapse

Methods inherited from Node

#<<, #==, #invisible?, #last, #perform, #render, #style, #to_s, #to_sass

Constructor Details

#initialize(name, args) ⇒ MixinNode

Returns a new instance of MixinNode.

Parameters:

  • name (String)

    The name of the mixin

  • args (Array<Script::Node>)

    The arguments to the mixin



10
11
12
13
14
# File 'lib/sass/tree/mixin_node.rb', line 10

def initialize(name, args)
  @name = name
  @args = args
  super()
end