Class: Rubbr::Change
- Inherits:
-
Object
- Object
- Rubbr::Change
- Defined in:
- lib/rubbr/change.rb
Overview
Checks if source files have changed since last time they was accessed by computing and storing a hash of their contents.
Class Method Summary collapse
Class Method Details
.d? ⇒ Boolean
9 10 11 12 13 14 15 16 17 |
# File 'lib/rubbr/change.rb', line 9 def self.d? sums = inventory if changes?(sums) write_inventory sums true else false end end |