slightly better enter
This commit is contained in:
parent
888acdca0c
commit
1379b4ea4e
@ -22,7 +22,7 @@ module Register
|
|||||||
slot = LinkSlot.new at
|
slot = LinkSlot.new at
|
||||||
@objects[object.object_id] = slot
|
@objects[object.object_id] = slot
|
||||||
end
|
end
|
||||||
return if object.is_a? Instruction
|
# return if object.is_a? Instruction
|
||||||
clazz = object.class.name.split("::").last
|
clazz = object.class.name.split("::").last
|
||||||
send("link_#{clazz}".to_sym , object , at)
|
send("link_#{clazz}".to_sym , object , at)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user