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



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

def inspect
  "#{self}"
end

#to_cssObject



158
159
160
# File 'lib/less/engine/nodes/literal.rb', line 158

def to_css
  self
end