Change Mom to SlotMachine
rather large commit, but essentially a simple rename Rationale in docs and blogs
This commit is contained in:
@ -9,7 +9,7 @@ module Risc
|
||||
super(source)
|
||||
@register = register
|
||||
@constant = constant
|
||||
raise "Not Constant #{constant}" if constant.is_a?(Mom::SlotDefinition)
|
||||
raise "Not Constant #{constant}" if constant.is_a?(SlotMachine::SlotDefinition)
|
||||
raise "Not register #{register}" unless RegisterValue.look_like_reg(register)
|
||||
end
|
||||
attr_accessor :register , :constant
|
||||
|
Reference in New Issue
Block a user