Module: Karel
- Includes:
- Commands
- Defined in:
- lib/karel.rb,
lib/karel/karel.rb,
lib/karel/world.rb,
lib/karel/square.rb,
lib/karel/commands.rb,
lib/karel/exceptions.rb,
lib/karel/syntax_checker.rb
Defined Under Namespace
Modules: Commands Classes: BadSubroutine, Explosion, FreeSquare, InvalidWorld, Karel, NoBeeper, PossibleInfiniteLoop, Square, SquareOccupied, SyntaxChecker, Wall, World
Constant Summary collapse
Constants included from Commands
Commands::CONDITIONS, Commands::INFINITE_LOOP_NUM_STEPS
Method Summary
Methods included from Commands
#DEBUG, #DEFINE, #ELSE, #IF, #ITERATE, #MOVE, #PICKBEEPER, #PUTBEEPER, #SILENT, #TURNLEFT, #WHILE, #WORLD, #condition_met?, #debug_command, #karel_instance, #method_missing, #subroutine_name_ok?, #world_instance
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Karel::Commands