Class: ProgramR::Think

Inherits:
AimlTag show all
Defined in:
lib/programr/aiml_elements.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from AimlTag

#inspect, #to_s

Constructor Details

#initialize(aStatus) ⇒ Think

Returns a new instance of Think.


335
336
337
# File 'lib/programr/aiml_elements.rb', line 335

def initialize aStatus
  @status = aStatus
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status


333
334
335
# File 'lib/programr/aiml_elements.rb', line 333

def status
  @status
end

Instance Method Details

#executeObject


339
340
341
# File 'lib/programr/aiml_elements.rb', line 339

def execute
  to_response @status
end