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.
11 12 13 14 |
# File 'lib/familia/errors.rb', line 11 def initialize(value) @value = value super end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
9 10 11 |
# File 'lib/familia/errors.rb', line 9 def value @value end |
Instance Method Details
#message ⇒ Object
16 17 18 |
# File 'lib/familia/errors.rb', line 16 def "High risk factor for serialization bugs: #{value}<#{value.class}>" end |