module HammerCLIForemanRemoteExecution::InterfaceExtensionsList
Public Instance Methods
format_type(nic)
click to toggle source
Calls superclass method
# File lib/hammer_cli_foreman_remote_execution/interface_extensions.rb, line 15 def format_type(nic) type = super(nic) if nic['execution'] if nic['primary'] || nic['provision'] type[-1] = ', ' + _('execution') + ')' else type += ' (' + _('execution') + ')' end end type end