Class: Chivy::TreeDiff

Inherits:
Object
  • Object
show all
Defined in:
lib/chivy/tree_diff.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tree_a, tree_b) ⇒ TreeDiff

Returns a new instance of TreeDiff.



8
9
10
11
# File 'lib/chivy/tree_diff.rb', line 8

def initialize(tree_a, tree_b)
  self.tree_a = tree_a
  self.tree_b = tree_b
end

Instance Attribute Details

#tree_aObject

Returns the value of attribute tree_a.



6
7
8
# File 'lib/chivy/tree_diff.rb', line 6

def tree_a
  @tree_a
end

#tree_bObject

Returns the value of attribute tree_b.



6
7
8
# File 'lib/chivy/tree_diff.rb', line 6

def tree_b
  @tree_b
end

Instance Method Details

#diffObject



13
14
15
# File 'lib/chivy/tree_diff.rb', line 13

def diff

end