Class: QED::Script::Text

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#textObject (readonly)

Returns the value of attribute text.



256
257
258
# File 'lib/qed/script1.rb', line 256

def text
  @text
end