Class: Flexite::Diff::CheckService

Inherits:
Object
  • Object
show all
Defined in:
app/services/flexite/diff/check_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(current_tree, other_tree, file_name) ⇒ CheckService

Returns a new instance of CheckService.



4
5
6
7
8
# File 'app/services/flexite/diff/check_service.rb', line 4

def initialize(current_tree, other_tree, file_name)
  @other_tree = other_tree
  @current_tree = current_tree
  @file_name = file_name
end

Instance Method Details

#callObject



10
11
12
13
# File 'app/services/flexite/diff/check_service.rb', line 10

def call
  check
  save
end