Class: QED::Script::Code

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#textObject (readonly)

Returns the value of attribute text.



249
250
251
# File 'lib/qed/script1.rb', line 249

def text
  @text
end