Class: Ruvi::EditorApp::DiffLogger::DifferenceTypes

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/timemachine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDifferenceTypes

Returns a new instance of DifferenceTypes.



280
281
282
# File 'lib/timemachine.rb', line 280

def initialize
    @registered_change_types = []
end

Instance Attribute Details

#registered_change_typesObject

Returns the value of attribute registered_change_types.



279
280
281
# File 'lib/timemachine.rb', line 279

def registered_change_types
  @registered_change_types
end

Instance Method Details

#register_change_type(change) ⇒ Object



283
284
285
# File 'lib/timemachine.rb', line 283

def register_change_type change
    @registered_change_types << change
end