Change Mom to SlotMachine

rather large commit, but essentially a simple rename
Rationale in docs and blogs
This commit is contained in:
2019-10-03 20:55:41 +03:00
parent fd8a3e9cc5
commit c43436f35a
170 changed files with 481 additions and 480 deletions

View File

@ -38,8 +38,8 @@ module Parfait
callable_method = self_type.get_method(@name)
#puts "Using #{name} for #{self_type.object_class.name}.#{self_type.hash}" unless callable_method
raise "Callable not found #{@name}" unless callable_method
compiler = Mom::MethodCompiler.new( callable_method )
head = @source.to_mom( compiler )
compiler = SlotMachine::MethodCompiler.new( callable_method )
head = @source.to_slot( compiler )
compiler.add_code(head)
compiler
end