Class: Systemdy::Utility::MessageDisplayer

Inherits:
Object
  • Object
show all
Defined in:
lib/systemdy/utility/message_displayer.rb

Overview

Allows to display messages to the user

Class Method Summary collapse

Class Method Details

.render_message(message) ⇒ String

a method for render custom message to the user

Examples:

a custom message to show to the user

custom_message = Systemdy::Utility::MessageDisplayer.render_message('my custom message')
#=> "my custom message"

Parameters:

  • the message to render

Returns:

  • the content of the message



13
14
15
# File 'lib/systemdy/utility/message_displayer.rb', line 13

def self.render_message(message)
    message # the content of the message
end