Exception: Bwkfanboy::PluginException

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

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ PluginException

Returns a new instance of PluginException.



44
45
46
# File 'lib/bwkfanboy/plugin.rb', line 44

def initialize msg
  super msg
end

Instance Method Details

#orig_to_sObject



48
# File 'lib/bwkfanboy/plugin.rb', line 48

alias :orig_to_s :to_s

#to_sObject

looks clumsy



50
51
52
# File 'lib/bwkfanboy/plugin.rb', line 50

def to_s
  "plugin: #{orig_to_s}"
end