Class: Nosey::Probe::Touch

Inherits:
Base
  • Object
show all
Defined in:
lib/nosey/probe.rb

Instance Attribute Summary

Attributes inherited from Base

#name, #value

Instance Method Summary collapse

Methods inherited from Base

#initialize, #reset, #set, #to_hash

Constructor Details

This class inherits a constructor from Nosey::Probe::Base

Instance Method Details

#touchObject



90
91
92
# File 'lib/nosey/probe.rb', line 90

def touch
  self.value = Time.now
end