class Link

Attributes

dest[R]

Public Class Methods

new(depth, dest) click to toggle source
Calls superclass method Node::new
# File lib/rdnode.rb, line 43
def initialize(depth, dest)
  super(depth)
  @dest = dest
end

Public Instance Methods

to_csv() click to toggle source
# File lib/rdnode.rb, line 57
def to_csv
  ""
end
to_desc() click to toggle source
# File lib/rdnode.rb, line 53
def to_desc
  ""
end
to_rd() click to toggle source
# File lib/rdnode.rb, line 61
def to_rd
  "#{dashes(depth)} >>#{@dest}"
end
to_s() click to toggle source
# File lib/rdnode.rb, line 49
def to_s
  "(Link depth:#{@depth}, dest:#{@dest}, tmp:#{@tmp})"
end