class SiSU_AO_DocumentStructure::ObjectComment

Attributes

is[RW]
obj[RW]
of[RW]
tmp[RW]

Public Class Methods

new() click to toggle source
# File lib/sisu/ao_doc_objects.rb, line 548
def initialize
  @of=:comment
  @is=@obj=@tmp=nil
end

Public Instance Methods

comment(h,o=nil) click to toggle source
# File lib/sisu/ao_doc_objects.rb, line 552
def comment(h,o=nil)
  of=     @of                                                              #Symbol, classification - group
  is=     :comment                                                         #Symbol, classification - specific type
  obj=    h[:obj]     || ((defined? o.obj)       ? o.obj     : nil)        #String, text content
  tmp=    h[:tmp]     || ((defined? o.tmp)       ? o.tmp     : nil)        #available for processing, empty after use
  @of,@is,@obj,@tmp=of,is,obj,tmp
  self
end