Sha256: c60d12e17439104f1f47d4c44ce1bd3dac5a86a3ad800940e7d1ccab5f2e7035
Contents?: true
Size: 227 Bytes
Versions: 2
Compression:
Stored size: 227 Bytes
Contents
module Robot module Commands class Left < Base def self.matches?(command) command.to_sym == Robot::Directions::LEFT end def self.call(position) position.left end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
robot_rea-0.1.5 | lib/robot/commands/left.rb |
robot_rea-0.1.4 | lib/robot/commands/left.rb |