Sha256: be8bc22986bfd79f5498cfca09e71e90789da1a40ec3d10ce8ffe2e7bf1c1af6
Contents?: true
Size: 284 Bytes
Versions: 6
Compression:
Stored size: 284 Bytes
Contents
# frozen_string_literal: true module Codebreaker module Markers # Marker that will interpret the number of bulls # and cows in classical way. class ClassicalMarker def mark(bulls, cows) format('%d Bulls, %d Cows', bulls, cows) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems