Class: Watcher::BasicWatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/informer/basic_watcher.rb

Direct Known Subclasses

Hostname, Process

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



4
5
6
# File 'lib/informer/basic_watcher.rb', line 4

def message
  @message
end

Instance Method Details

#reportObject



6
7
8
# File 'lib/informer/basic_watcher.rb', line 6

def report
  @message = "Superclass called"
end