Class: Tolerance::FakeException

Inherits:
Object
  • Object
show all
Defined in:
lib/tolerance/fake_exception.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, receiver:) ⇒ FakeException

Returns a new instance of FakeException.



7
8
9
10
# File 'lib/tolerance/fake_exception.rb', line 7

def initialize(name:, receiver:)
  @name = name
  @receiver = receiver
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/tolerance/fake_exception.rb', line 5

def name
  @name
end

#receiverObject (readonly)

Returns the value of attribute receiver.



5
6
7
# File 'lib/tolerance/fake_exception.rb', line 5

def receiver
  @receiver
end