Module: Lookout::Result

Included in:
Lookout::Results::Error, Lookout::Results::Failure, Lookout::Results::Success
Defined in:
lib/lookout-3.0/result.rb

Overview

Base module for Results.

Instance Method Summary collapse

Instance Method Details

#to_sObject

Returns A String formatted according to the GNU standard for error messages.

Returns:

  • A String formatted according to the GNU standard for error messages



15
# File 'lib/lookout-3.0/result.rb', line 15

def to_s; '%s:%d' % [file, line] end