Class: Twb::Util::JoinTree

Inherits:
Object
  • Object
show all
Defined in:
lib/twb/util/joinutilities.rb

Overview

class JoinTablePair

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeJoinTree

Returns a new instance of JoinTree.



40
41
42
43
# File 'lib/twb/util/joinutilities.rb', line 40

def initialize
  @root = nil
  @maxdepth = 0
end

Instance Attribute Details

#maxdepthObject (readonly)

Returns the value of attribute maxdepth.



39
40
41
# File 'lib/twb/util/joinutilities.rb', line 39

def maxdepth
  @maxdepth
end

#rootObject (readonly)

Returns the value of attribute root.



39
40
41
# File 'lib/twb/util/joinutilities.rb', line 39

def root
  @root
end

Instance Method Details

#add(from, to) ⇒ Object



44
45
46
# File 'lib/twb/util/joinutilities.rb', line 44

def add from, to
  puts "abc"
end