Sha256: 0c2ca0c7614bb2b4a181b4f7eba953832e5423ea94585ab4cbf9d35204530037
Contents?: true
Size: 440 Bytes
Versions: 2
Compression:
Stored size: 440 Bytes
Contents
module Command class Response attr_reader *%i[ compass location operations_count return_value tokens ] def initialize( compass:, location:, tokens:, operations_count: 1, return_value: nil ) @compass = compass @location = location @return_value = return_value @tokens = tokens @operations_count = operations_count end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
karel-interpreter-0.2.0 | lib/karel/command/response.rb |
karel-interpreter-0.1.0 | lib/karel/command/response.rb |