Exception: LicenseAuto::VirtualMethodError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/license_auto/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ VirtualMethodError

Just call to super with some fancy message.



36
37
38
39
40
# File 'lib/license_auto/exceptions.rb', line 36

def initialize(name)
  message = "Error: Pure virtual method '#{name}' called"
  super(message)
  logger.error(message)
end