lib/lan_scanner/device.rb in lan_scanner-0.0.3 vs lib/lan_scanner/device.rb in lan_scanner-0.0.4
- old
+ new
@@ -1,15 +1,15 @@
-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
-
+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
\ No newline at end of file