rubyx/test/slot_machine/helper.rb

24 lines
458 B
Ruby

require_relative '../helper'
module SlotMachine
class InstructionMock < Instruction
def initialize
super("mocking")
end
end
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
end