app/controllers/anoubis/output/menu.rb
##
# Generates output message based on {#result self.result} variable.
# @return [String] output message
Generates output message based on {#result self.result} variable.
Generates output message based on { #result self . result } variable .
def message
        case self.result
        when 0
          return I18n.t('success')
        else
          return I18n.t('invalid_menu_output')
        end
      end
def message case self . result when 0 return I18n . t ( 'success' ) else return I18n . t ( 'invalid_menu_output' ) end end
Generates output message based on {#result self.result} variable.
Generates output message based on { #result self . result } variable .
None
String