lib/parser/ged_line.rb
#creates as NOTE from a user defined tag.
#sets the @user field to true.
creates as NOTE from a user defined tag.
sets the @user field to true.
creates as NOTE from a user defined tag . sets the @user field to true .
def user_tag
    if @xref != nil
      if @data == nil
        @data = [ '@' + @xref + '@' ]
      else
        @data[0,0] = '@' + @xref + '@'
      end
      @xref = nil if @level != 0 
    end
    if @data == nil
      @data = [ @tag ]
    else
      @data[0,0] = @tag
    end
    @data[0,0] = @level.to_s
    @user = true
    @tag = "NOTE"
  end
def user_tag if @xref != nil if @data == nil @data = [ '@' + @xref + '@' ] else @data [ 0 , 0 ] = '@' + @xref + '@' end @xref = nil if @level != 0 end if @data == nil @data = [ @tag ] else @data [ 0 , 0 ] = @tag end @data [ 0 , 0 ] = @level . to_s @user = true @tag = "NOTE" end
creates as NOTE from a user defined tag.
creates as NOTE from a user defined tag .
#Retain for the NOTES xref if this is a level 0 user tag.