Class: Mrsk::Commands::Auditor
- Inherits:
-
Base
- Object
- Base
- Mrsk::Commands::Auditor
show all
- Defined in:
- lib/mrsk/commands/auditor.rb
Instance Attribute Summary
Attributes inherited from Base
#config
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #run_over_ssh
Instance Method Details
#record(line) ⇒ Object
5
6
7
8
9
|
# File 'lib/mrsk/commands/auditor.rb', line 5
def record(line)
append \
[ :echo, "'#{tags} #{line}'" ],
audit_log_file
end
|
#reveal ⇒ Object
11
12
13
|
# File 'lib/mrsk/commands/auditor.rb', line 11
def reveal
[ :tail, "-n", 50, audit_log_file ]
end
|