cleaning, docs
This commit is contained in:
@ -59,7 +59,7 @@ module SlotLanguage
|
||||
def test_shift
|
||||
load = compile("word = name.member")
|
||||
assert_equal LoadMaker , load.class
|
||||
assert_equal :word , load.left.leaps.first
|
||||
assert_equal :word , load.left.names.first
|
||||
assert_equal SlotMaker , load.right.class
|
||||
end
|
||||
end
|
||||
|
@ -8,7 +8,7 @@ module SlotLanguage
|
||||
@maker = SlotMaker.new(:hi )
|
||||
end
|
||||
def test_slot
|
||||
@maker.slot_def(@compiler)
|
||||
@maker.to_slot(@compiler)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user