Crashes on look after taking an item
While playing through test.rb I found that the game crashes if I type look after picking up the sword.
Output:
> take sword
> inventory
You are currently carring:
sword
> look
The end of the game
Located here are:
/home/ryan/local/gems/gems/twisty-0.0.1/lib/twisty/engine.rb:162:in `look': undefined method `each' for :sword:Symbol (NoMethodError)
from /home/ryan/local/gems/gems/rtype-0.6.8/lib/rtype.rb:432:in `block in define_typed_method_to_proxy'
from /home/ryan/local/gems/gems/twisty-0.0.1/lib/twisty/engine.rb:237:in `parse'
from /home/ryan/local/gems/gems/rtype-0.6.8/lib/rtype.rb:432:in `block in define_typed_method_to_proxy'
from /home/ryan/local/gems/gems/twisty-0.0.1/lib/twisty/engine.rb:221:in `loop'
from /home/ryan/local/gems/gems/rtype-0.6.8/lib/rtype.rb:432:in `block in define_typed_method_to_proxy'
from test.rb:19:in `<main>'
Edited by Ryan McCoskrie