Class: Fasterer::ErrorData

Inherits:
Struct
  • Object
show all
Defined in:
lib/fasterer/file_traverser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#error_classObject

Returns the value of attribute error_class

Returns:

  • (Object)

    the current value of error_class



132
133
134
# File 'lib/fasterer/file_traverser.rb', line 132

def error_class
  @error_class
end

#error_messageObject

Returns the value of attribute error_message

Returns:

  • (Object)

    the current value of error_message



132
133
134
# File 'lib/fasterer/file_traverser.rb', line 132

def error_message
  @error_message
end

#file_pathObject

Returns the value of attribute file_path

Returns:

  • (Object)

    the current value of file_path



132
133
134
# File 'lib/fasterer/file_traverser.rb', line 132

def file_path
  @file_path
end

Instance Method Details

#to_sObject



133
134
135
# File 'lib/fasterer/file_traverser.rb', line 133

def to_s
  "#{file_path} - #{error_class} - #{error_message}"
end