2018-03-15 16:21:46 +01:00
|
|
|
require_relative '../helper'
|
2020-02-15 09:26:49 +01:00
|
|
|
|
|
|
|
module SlotMachine
|
|
|
|
class InstructionMock < Instruction
|
|
|
|
def initialize
|
|
|
|
super("mocking")
|
|
|
|
end
|
|
|
|
end
|
2020-02-18 20:19:14 +01:00
|
|
|
module SlotHelper
|
|
|
|
def compile(input)
|
|
|
|
SlotCompiler.compile(input)
|
|
|
|
end
|
|
|
|
def compile_class(input)
|
|
|
|
compile(input).class
|
|
|
|
end
|
|
|
|
end
|
|
|
|
module SlotToHelper
|
|
|
|
def setup
|
|
|
|
Parfait.boot!({})
|
|
|
|
@compiler = SlotMachine::SlotCollection.compiler_for( :Space , :main,{},{})
|
|
|
|
end
|
|
|
|
end
|
2020-02-15 09:26:49 +01:00
|
|
|
end
|