Method: FileMonitoring::FileStat#to_s
- Defined in:
- lib/file_monitoring/monitor_path.rb
#to_s(indent = 0) ⇒ Object
Returns path and state of the file with indentation
125 126 127 |
# File 'lib/file_monitoring/monitor_path.rb', line 125 def to_s (indent = 0) (" " * indent) + path.to_s + " : " + state.to_s end |