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