Method: Roby::Application#shell_interface_has_clients?
- Defined in:
- lib/roby/app.rb
#shell_interface_has_clients? ⇒ Boolean
2207 2208 2209 2210 2211 |
# File 'lib/roby/app.rb', line 2207 def shell_interface_has_clients? v1_count = shell_interface&.client_count(handshake: true) || 0 v2_count = shell_interface_v2&.client_count(handshake: true) || 0 (v1_count + v2_count) > 0 end |