Class: Less::Node::Keyword

Inherits:
String 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

Methods inherited from String

#blank?, #column_of, #indent, #line_of, #tabto, #treetop_camelize

Instance Method Details

#inspectObject



130
131
132
# File 'lib/less/engine/nodes/literal.rb', line 130

def inspect
  "#{self}"
end

#to_cssObject



126
127
128
# File 'lib/less/engine/nodes/literal.rb', line 126

def to_css
  self
end