Exception: Sifterology::SifterError
- Inherits:
-
Exception
- Object
- Exception
- Sifterology::SifterError
- Defined in:
- lib/sifterology/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ SifterError
constructor
A new instance of SifterError.
- #to_s ⇒ Object
Constructor Details
#initialize(msg = nil) ⇒ SifterError
Returns a new instance of SifterError.
5 6 7 |
# File 'lib/sifterology/errors.rb', line 5 def initialize(msg=nil) @message = msg end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/sifterology/errors.rb', line 9 def to_s @message end |