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



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

def error_class
  @error_class
end

#error_messageObject

Returns the value of attribute error_message

Returns:

  • (Object)

    the current value of error_message



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

def error_message
  @error_message
end

#file_pathObject

Returns the value of attribute file_path

Returns:

  • (Object)

    the current value of file_path



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

def file_path
  @file_path
end

Instance Method Details

#to_sObject



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

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