renamed info to MethodSource

This commit is contained in:
Torsten Ruger
2015-07-03 20:13:03 +03:00
parent e959c5b0f5
commit b61c73acdd
24 changed files with 103 additions and 103 deletions

View File

@ -159,7 +159,7 @@ module Parfait
#many basic List functions can not be defined in ruby, such as
# get/set/length/add/delete
# so they must be defined as CompiledMethods in Builtin::Kernel
# so they must be defined as Methods in Builtin::Kernel
#ruby 2.1 list (just for reference, keep at bottom)
# :at, :fetch, :first, :last, :concat, :<<, :push, :pop, :shift, :unshift, :insert, :each, :each_index, :reverse_each,

View File

@ -43,7 +43,7 @@ module Parfait
found = get_instance_method( method.name )
if found
@instance_methods.delete(found)
raise "existed in #{self.name} #{Sof.write found.info.blocks}"
raise "existed in #{self.name} #{Sof.write found.source.blocks}"
end
@instance_methods.push method
#puts "#{self.name} add #{method.name}"