Class: Presence::MACPrinter
- Inherits:
-
Object
- Object
- Presence::MACPrinter
- Defined in:
- lib/presence/listeners/mac_printer.rb
Overview
Scanner listener that prints all MACs found by the scanner to stdout.
Instance Method Summary collapse
Instance Method Details
#mac_found(ip, mac) ⇒ Object
5 6 7 |
# File 'lib/presence/listeners/mac_printer.rb', line 5 def mac_found(ip, mac) puts "#{ip} : #{mac}" end |