Sha256: 59a94e1e68725a60d4690c257075ad55ee18dd80d2a87c1d4db85a7f36e6403b
Contents?: true
Size: 326 Bytes
Versions: 2
Compression:
Stored size: 326 Bytes
Contents
module LanScanner class Device attr_reader :host_name attr_reader :remote_address attr_reader :state # 'up','down','unknown' def initialize(remote_address:, host_name: nil, state: nil) @host_name = host_name @remote_address = remote_address @state = state end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lan_scanner-0.0.5 | lib/lan_scanner/device.rb |
lan_scanner-0.0.4 | lib/lan_scanner/device.rb |