Exception: Ask::Tool::Halt

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ask/tools/tool.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ Halt

Returns a new instance of Halt.



9
10
11
12
# File 'lib/ask/tools/tool.rb', line 9

def initialize(content)
  @content = content
  super(content.to_s)
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



8
9
10
# File 'lib/ask/tools/tool.rb', line 8

def content
  @content
end