Class: QED::Script::Text
- Inherits:
-
Object
- Object
- QED::Script::Text
- Defined in:
- lib/qed/script1.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text) ⇒ Text
constructor
A new instance of Text.
Constructor Details
#initialize(text) ⇒ Text
Returns a new instance of Text.
257 258 259 |
# File 'lib/qed/script1.rb', line 257 def initialize(text) @text = text end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
256 257 258 |
# File 'lib/qed/script1.rb', line 256 def text @text end |