Class: QED::Script::Head

Inherits:
Object
  • Object
show all
Defined in:
lib/qed/script1.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#textObject (readonly)

Returns the value of attribute text.



242
243
244
# File 'lib/qed/script1.rb', line 242

def text
  @text
end