Exception: Bwkfanboy::GeneratorException
- Inherits:
-
StandardError
- Object
- StandardError
- Bwkfanboy::GeneratorException
- Defined in:
- lib/bwkfanboy/generator.rb
Overview
TODO: generate this class automatically via something like Utils.makeExceptClass ‘GeneratorException’, prefix: ‘generator’
Instance Method Summary collapse
-
#initialize(msg) ⇒ GeneratorException
constructor
A new instance of GeneratorException.
- #orig_to_s ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(msg) ⇒ GeneratorException
Returns a new instance of GeneratorException.
9 10 11 |
# File 'lib/bwkfanboy/generator.rb', line 9 def initialize msg super msg end |
Instance Method Details
#orig_to_s ⇒ Object
13 |
# File 'lib/bwkfanboy/generator.rb', line 13 alias :orig_to_s :to_s |
#to_s ⇒ Object
14 15 16 |
# File 'lib/bwkfanboy/generator.rb', line 14 def to_s "generator: #{orig_to_s}" end |