class TreeStack::Leaf

Public Class Methods

create(content=nil) click to toggle source
# File lib/pseudohiki/treestack.rb, line 50
def self.create(content=nil)
  new.tap {|leaf| leaf.push content if content }
end