Class: Less2Sass::Less::Tree::MediaNode

Inherits:
Node
  • Object
show all
Defined in:
lib/less2sass/less/tree/media_node.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#children, #has_children, #has_parent, #line, #parent, #ref_vars

Method Summary

Methods inherited from Node

#<<, #==, #contains_variables?, #creates_context?, #each, #get_referenced_variable_names, #initialize, #to_sass, #transform

Constructor Details

This class inherits a constructor from Less2Sass::Less::Tree::Node

Instance Attribute Details

#currentFileInfoObject

Returns the value of attribute currentFileInfo.



6
7
8
# File 'lib/less2sass/less/tree/media_node.rb', line 6

def currentFileInfo
  @currentFileInfo
end

#featuresObject

Returns the value of attribute features.



7
8
9
# File 'lib/less2sass/less/tree/media_node.rb', line 7

def features
  @features
end

#indexObject

Returns the value of attribute index.



5
6
7
# File 'lib/less2sass/less/tree/media_node.rb', line 5

def index
  @index
end

#rulesObject

Returns the value of attribute rules.



8
9
10
# File 'lib/less2sass/less/tree/media_node.rb', line 8

def rules
  @rules
end