class ActiveGit::FileEvent
Attributes
data[R]
Public Class Methods
new(data, working_path=nil)
click to toggle source
# File lib/active_git/events/file_event.rb, line 6 def initialize(data, working_path=nil) @data = data @working_path = working_path || ActiveGit.configuration.working_path end
Protected Instance Methods
file_name()
click to toggle source
# File lib/active_git/events/file_event.rb, line 13 def file_name Inflector.filename(@data, @working_path) end