Sha256: 64e7e39f4086a5db8f09088eb1cf01ef7616448f227a504555f8d6722404d31c

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

module ActiveGit
  class FileEvent

    attr_reader :data

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

    protected

    def file_name
      Inflector.filename(@data, @working_path)
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_git-0.0.10 lib/active_git/events/file_event.rb
active_git-0.0.9 lib/active_git/events/file_event.rb
active_git-0.0.8 lib/active_git/events/file_event.rb