Class: PFM::Message::Instructions::Text
- Defined in:
- docs/4_Systems_004_Message.rb
Overview
Class that describe a text object
Instance Attribute Summary collapse
-
#text ⇒ String
readonly
Get the text to show.
-
#width ⇒ Integer
readonly
Get the width of the text.
Instance Method Summary collapse
-
#initialize(text, width) ⇒ Text
constructor
Create a new text object.
Constructor Details
#initialize(text, width) ⇒ Text
Create a new text object
313 314 |
# File 'docs/4_Systems_004_Message.rb', line 313 def initialize(text, width) end |
Instance Attribute Details
#text ⇒ String (readonly)
Get the text to show
306 307 308 |
# File 'docs/4_Systems_004_Message.rb', line 306 def text @text end |
#width ⇒ Integer (readonly)
Get the width of the text
309 310 311 |
# File 'docs/4_Systems_004_Message.rb', line 309 def width @width end |