Exception: PoolLint::LeakedSessionState

Inherits:
Error
  • Object
show all
Defined in:
lib/poollint/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(report) ⇒ LeakedSessionState

Returns a new instance of LeakedSessionState.



11
12
13
14
# File 'lib/poollint/errors.rb', line 11

def initialize(report)
  @report = report
  super(report.to_s)
end

Instance Attribute Details

#reportObject (readonly)

Returns the value of attribute report.



9
10
11
# File 'lib/poollint/errors.rb', line 9

def report
  @report
end