Class: Less::Node::Function
- Defined in:
- lib/less/engine/nodes/function.rb
Instance Attribute Summary
Attributes included from Entity
Instance Method Summary collapse
- #evaluate ⇒ Object
-
#initialize(name, *args) ⇒ Function
constructor
A new instance of Function.
- #method_missing(meth, *args) ⇒ Object
- #to_css ⇒ Object
Methods included from Entity
Methods included from Functions
Constructor Details
#initialize(name, *args) ⇒ Function
Returns a new instance of Function.
43 44 45 46 |
# File 'lib/less/engine/nodes/function.rb', line 43 def initialize name, *args @args = args.flatten super name end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method