rename the XX_slot classes to SlottedXX

move to slotted and slots (wip)
This commit is contained in:
2020-02-15 21:02:03 +07:00
parent 8b29326957
commit b7df6f66f9
41 changed files with 96 additions and 58 deletions

View File

@ -19,11 +19,11 @@ module SlotMachine
def self.for(object , slots)
case object
when :message
MessageSlot.new(slots)
SlottedMessage.new(slots)
when Constant
ConstantSlot.new(object , slots)
SlottedConstant.new(object , slots)
when Parfait::Object , Risc::Label
ObjectSlot.new(object , slots)
SlottedObject.new(object , slots)
else
raise "not supported type #{object}"
end