Exception: Evilution::Error Private

Inherits:
StandardError
  • Object
show all
Defined in:
lib/evilution.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, file: nil) ⇒ Error

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Error.



187
188
189
190
# File 'lib/evilution.rb', line 187

def initialize(message = nil, file: nil)
  super(message)
  @file = file
end

Instance Attribute Details

#fileObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



185
186
187
# File 'lib/evilution.rb', line 185

def file
  @file
end