class Section

squi.rb

This application is distributed under the GPL.

Send all comments or suggestions to jonathantan86@hotmail.com.

This is version 0.11 (Mar 14, 2006).
Older versions: 0.1

 class Section
     attr_accessor :type, :content, :linkto
     def initialize(type, content = nil, linkto = nil)
         @type = type
         @content = content
         @linkto = linkto
     end
     def append(content)
         @content += content
     end
     def one_liner_type?
         type == :folder or type == :link
     end
 end