Method: Controls::Error#to_s
- Defined in:
- lib/controls/objects/error.rb
#to_s ⇒ String
Returns the error message if available otherwise calls #inspect.
45 46 47 |
# File 'lib/controls/objects/error.rb', line 45 def to_s @message or inspect end |