module Cumulus::Common::DiffChange
Public: The types of changes common to all Diffs
Constants
- ADD
- MODIFIED
- UNMANAGED
Public Class Methods
next_change_id()
click to toggle source
Public: Produce the next id for a change type. Use this to avoid id collisions.
Returns the new id
# File lib/common/models/Diff.rb, line 13 def self.next_change_id @@current += 1 @@current end