Exception: Familia::HighRiskFactor
- Defined in:
- lib/familia/errors.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ HighRiskFactor
constructor
A new instance of HighRiskFactor.
-
#message ⇒ Object
Constructor Details
#initialize(value) ⇒ HighRiskFactor
Returns a new instance of HighRiskFactor.
16 17 18 19 |
# File 'lib/familia/errors.rb', line 16 def initialize(value) @value = value super end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
14 15 16 |
# File 'lib/familia/errors.rb', line 14 def value @value end |
Instance Method Details
#message ⇒ Object
21 22 23 |
# File 'lib/familia/errors.rb', line 21 def "High risk factor for serialization bugs: #{value}<#{value.class}>" end |