get guard to run several test on one change by setting up names accordingly
This commit is contained in:
@ -9,17 +9,7 @@ module Vool
|
||||
super
|
||||
end
|
||||
end
|
||||
class LocalAssignment < Assignment
|
||||
# used to collect frame information
|
||||
def add_local( array )
|
||||
array << @name
|
||||
end
|
||||
|
||||
def to_mom( method )
|
||||
Mom::SlotConstant.new([:message , :self , @name] , @value)
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceAssignment < Assignment
|
||||
# used to collect type information
|
||||
def add_ivar( array )
|
||||
|
14
lib/vool/statements/local_statement.rb
Normal file
14
lib/vool/statements/local_statement.rb
Normal file
@ -0,0 +1,14 @@
|
||||
module Vool
|
||||
|
||||
class LocalAssignment < Assignment
|
||||
# used to collect frame information
|
||||
def add_local( array )
|
||||
array << @name
|
||||
end
|
||||
|
||||
def to_mom( method )
|
||||
Mom::SlotConstant.new([:message , :self , @name] , @value)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user