Class Std::Message
Parent: TextBox (core)
Display a message to the user the same way a TextBox does, i.e. a black box with white text inside appears and the user has to press the Return key in order to continue.
Usage example:
m = Message.new("Lorem ipsum dolor sit amet...") m.activate
You can reuse your message as often as you want. Also note this is a subclass of the core TextBox class, which especially allows you to change the message text using the MessageBox#text= method.
Class Methods
new
new ( text ) → a_message
Create a new Message with the given text, which may be multiline.
Instance Methods
activate
activate()
Show the message to the user. This method ensures the text always appears above Alex.