Class: Core::Watch::Strategies::Timestamp

Inherits:
Object
  • Object
show all
Defined in:
lib/core/watch/strategies/timestamp.rb

Overview

public

Identifies a path by modified time.

Instance Method Summary collapse

Instance Method Details

#identify(path) ⇒ Object

public


13
14
15
# File 'lib/core/watch/strategies/timestamp.rb', line 13

def identify(path)
  path.mtime
end