class Konstructor::DeclaringInheritedError

Raised if declaring inherited method as constructor.

Public Class Methods

new(name) click to toggle source
Calls superclass method
# File lib/konstructor/exceptions.rb, line 18
def initialize(name)
  super "You are declaring an inherited method '#{name}' as konstructor, "
        "this is not allowed."
end