Module: Stylish::Tree::Leaf
Overview
Leaves cannot have further nodes attached to them, and cannot root selector trees. When a tree is serialised, it is the leaf nodes which are the ultimate objects of serialisation, where the recursive process ends.
Instance Method Summary collapse
-
#leaf? ⇒ Boolean
Leaves are leaves.
Methods included from Node
Instance Method Details
#leaf? ⇒ Boolean
Leaves are leaves.
34 35 36 |
# File 'lib/stylish/tree.rb', line 34 def leaf? true end |