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.



181
182
183
184
# File 'lib/evilution.rb', line 181

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.



179
180
181
# File 'lib/evilution.rb', line 179

def file
  @file
end