class SiSU_AO_DocumentStructure::ObjectMetadata

Attributes

digest[RW]
is[RW]
obj[RW]
of[RW]
tags[RW]

Public Class Methods

new() click to toggle source
# File lib/sisu/ao_doc_objects.rb, line 63
def initialize
  @tags={}
  @is=@tmp=@digest=nil
  @of=:meta
end

Public Instance Methods

metadata(tags) click to toggle source
# File lib/sisu/ao_doc_objects.rb, line 68
def metadata(tags)
  of      = @of                                                                 #Symbol, classification - group
  is      = :meta                                                               #Symbol, classification - specific type
  tags    = tags            || ((defined? o.tags)      ? o.tags        : {})    #String, metadata type/tag
  obj     = nil
  @of,@is,@tags,@obj=of,is,tags,obj
  self
end