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