more speration

Separating vm and parfait
especially in method this is hairy, lots of ripples
bug is back in sod (i hope thats a good thing)
This commit is contained in:
Torsten Ruger
2015-05-20 17:11:13 +03:00
parent d6d0f4f43a
commit 6eba363fb8
8 changed files with 44 additions and 23 deletions

View File

@@ -34,7 +34,7 @@ module Parfait
# used to determine if a send must be issued
# return index of the name into the message if so
def has_var name
name = name.to_sym
raise "uups #{name}.#{name.class}" unless name.is_a? Word
index = has_arg(name)
return index if index
has_local(name)