class Milkode::Updater::Result
Attributes
add_count[R]
file_count[R]
update_count[R]
Public Class Methods
new()
click to toggle source
# File lib/milkode/database/updater.rb, line 104 def initialize @file_count = 0 @add_count = 0 @update_count = 0 end
Public Instance Methods
exist_update?()
click to toggle source
# File lib/milkode/database/updater.rb, line 122 def exist_update? @add_count > 0 || @update_count > 0 end
inc_add_count()
click to toggle source
# File lib/milkode/database/updater.rb, line 114 def inc_add_count @add_count += 1 end
inc_file_count()
click to toggle source
# File lib/milkode/database/updater.rb, line 110 def inc_file_count @file_count += 1 end
inc_update_count()
click to toggle source
# File lib/milkode/database/updater.rb, line 118 def inc_update_count @update_count += 1 end