Exception: Falsework::MouldError
- Inherits:
-
StandardError
- Object
- StandardError
- Falsework::MouldError
- Defined in:
- lib/falsework/mould.rb
Instance Method Summary collapse
-
#initialize(msg) ⇒ MouldError
constructor
A new instance of MouldError.
- #orig_to_s ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(msg) ⇒ MouldError
Returns a new instance of MouldError.
11 12 13 |
# File 'lib/falsework/mould.rb', line 11 def initialize msg super msg end |
Instance Method Details
#orig_to_s ⇒ Object
15 |
# File 'lib/falsework/mould.rb', line 15 alias :orig_to_s :to_s |
#to_s ⇒ Object
16 17 18 |
# File 'lib/falsework/mould.rb', line 16 def to_s "generator: #{orig_to_s}" end |