Exception: Bwkfanboy::GeneratorException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bwkfanboy/generator.rb

Overview

TODO: generate this class automatically via something like Utils.makeExceptClass ‘GeneratorException’, prefix: ‘generator’

Instance Method Summary collapse

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_sObject



13
# File 'lib/bwkfanboy/generator.rb', line 13

alias :orig_to_s :to_s

#to_sObject



14
15
16
# File 'lib/bwkfanboy/generator.rb', line 14

def to_s
  "generator: #{orig_to_s}"
end