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.
1345 1346 1347 |
# File 'lib/rbbt/util/misc.rb', line 1345 def info @info end |
Instance Method Details
#old_to_s ⇒ Object
1347 |
# File 'lib/rbbt/util/misc.rb', line 1347 alias old_to_s to_s |
#to_s ⇒ Object
1348 1349 1350 1351 1352 1353 1354 |
# File 'lib/rbbt/util/misc.rb', line 1348 def to_s str = old_to_s.dup if info str << "\n" << "Additional Info:\n---\n" << info << "---" end str end |