Class: QED::Script::Code
- Inherits:
-
Object
- Object
- QED::Script::Code
- 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) ⇒ Code
constructor
A new instance of Code.
Constructor Details
#initialize(text) ⇒ Code
Returns a new instance of Code.
250 251 252 |
# File 'lib/qed/script1.rb', line 250 def initialize(text) @text = text end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
249 250 251 |
# File 'lib/qed/script1.rb', line 249 def text @text end |