shuffling and rename dummy

This commit is contained in:
Torsten Ruger
2015-07-28 16:18:32 +03:00
parent 36f635f7c1
commit 5fd04ee0c5
3 changed files with 39 additions and 28 deletions

View File

@ -12,7 +12,7 @@ module Virtual
def initialize(name , method )
super()
@method = method
raise "Method is not Method, but #{method.class}" unless method == :dummy or method.is_a?(Parfait::Method)
raise "Method is not Method, but #{method.class}" unless method == :__init__ or method.is_a?(Parfait::Method)
@name = name.to_sym
@branch = nil
@codes = []