lib/konstructor/factory.rb in konstructor-0.4.1 vs lib/konstructor/factory.rb in konstructor-0.4.2

- old
+ new

@@ -1,6 +1,7 @@ module Konstructor + # :nodoc: class Factory def initialize(klass) @klass = klass @konstructor_names = [] @@ -14,12 +15,9 @@ @next_method_is_konstructor = false process_new_names(new_names) end end - # once method is a konstructor, it is always a konstructor, this differs - # from the way private, protected works, if overriding method isn't repeatedly marked as private - # it becomes public def declared?(name) declared_in_self?(name) || declared_in_superclass?(name) end def method_added_to_klass(name) \ No newline at end of file