class Less::Node::Selector
Constants
- Selectors
Public Class Methods
[](key)
click to toggle source
# File lib/less/engine/nodes/selector.rb, line 19 def self.[] key Node.const_get(Selectors.find {|k, v| v == key }.first) end
new()
click to toggle source
Calls superclass method
Less::Node::Entity.new
# File lib/less/engine/nodes/selector.rb, line 15 def initialize super Selectors[ self.class.to_s.split('::').last.to_sym ] end