Sha256: c1a8362a189119402400a07a65479e5ceb912fbbeee064e82324af01410aff2e
Contents?: true
Size: 363 Bytes
Versions: 1
Compression:
Stored size: 363 Bytes
Contents
module TodoNext class Tree class Node attr_accessor :text, :parent, :children def initialize(text, parent=nil) @text, @parent = text, parent @children = [] end def terminal? false end end class OL < Node ; end class LI < Node def terminal? true end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
todo_next-0.0.1 | lib/todo_next/tree/node.rb |