Exception: RBBTError
- Inherits:
-
StandardError
- Object
- StandardError
- RBBTError
- Defined in:
- lib/rbbt/util/misc.rb
Instance Attribute Summary collapse
-
#info ⇒ Object
Returns the value of attribute info.
Instance Method Summary collapse
Instance Attribute Details
#info ⇒ Object
Returns the value of attribute info.
1376 1377 1378 |
# File 'lib/rbbt/util/misc.rb', line 1376 def info @info end |
Instance Method Details
#old_to_s ⇒ Object
1378 |
# File 'lib/rbbt/util/misc.rb', line 1378 alias old_to_s to_s |
#to_s ⇒ Object
1379 1380 1381 1382 1383 1384 1385 |
# File 'lib/rbbt/util/misc.rb', line 1379 def to_s str = old_to_s.dup if info str << "\n" << "Additional Info:\n---\n" << info << "---" end str end |