Class: Less::Node::Keyword

Inherits:
String
  • Object
show all
Includes:
Entity
Defined in:
lib/less/engine/nodes/literal.rb

Overview

Any un-quoted word

ex: red, small, border-collapse

Instance Attribute Summary

Attributes included from Entity

#parent

Instance Method Summary collapse

Methods included from Entity

#initialize, #path, #root, #to_s

Instance Method Details

#inspectObject



166
167
168
# File 'lib/less/engine/nodes/literal.rb', line 166

def inspect
  "#{self}"
end

#to_cssObject



162
163
164
# File 'lib/less/engine/nodes/literal.rb', line 162

def to_css
  self
end