Class: ActiveGit::DbEvent

Inherits:
Object
  • Object
show all
Defined in:
lib/active_git/events/db_event.rb

Direct Known Subclasses

DbCreate, DbDelete, DbUpdate

Instance Method Summary collapse

Constructor Details

#initialize(file_name, working_path = nil) ⇒ DbEvent

Returns a new instance of DbEvent.



4
5
6
7
# File 'lib/active_git/events/db_event.rb', line 4

def initialize(file_name, working_path=nil)
  @file_name = file_name
  @working_path = working_path || ActiveGit.configuration.working_path
end