still fixing index bugs

the indexed_length got written wrong
which is why the layout methods didn’t work
Now all indexes are 1 based, even fake men, where we just ignore 0
This commit is contained in:
Torsten Ruger
2015-10-26 14:33:36 +02:00
parent 9f4952b5ac
commit 885aa765d6
10 changed files with 36 additions and 23 deletions

View File

@ -12,6 +12,11 @@ module Parfait
base.attribute :instance_methods
end
def initialize
super()
self.instance_methods = List.new
end
def method_names
names = List.new
self.instance_methods.each do |method|