fix ruby variables
This commit is contained in:
12
lib/vool/ivar_assignment.rb
Normal file
12
lib/vool/ivar_assignment.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
module Vool
|
||||
|
||||
class IvarAssignment < Assignment
|
||||
|
||||
def to_mom( compiler )
|
||||
to = Mom::SlotDefinition.new(:message ,[ :receiver , @name])
|
||||
from = @value.slot_definition(compiler)
|
||||
return chain_assign( Mom::SlotLoad.new(to,from) , compiler)
|
||||
end
|
||||
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user