mirror of
https://github.com/cmur2/openvpn-status-web.git
synced 2025-08-17 11:13:04 +02:00
gem: add rubocop and fix style
This commit is contained in:
@@ -13,7 +13,7 @@ module OpenVPNStatusWeb
|
||||
(current_section = :rt; next) if line == "ROUTING TABLE\n"
|
||||
(current_section = :gs; next) if line == "GLOBAL STATS\n"
|
||||
(current_section = :end; next) if line == "END\n"
|
||||
|
||||
|
||||
case current_section
|
||||
when :cl
|
||||
client_list << line.strip.split(',')
|
||||
|
Reference in New Issue
Block a user