Sha256: 5b0c6376815377847252e726576d94e971267aa04d20688d99ceeedaa4422ef5

Contents?: true

Size: 239 Bytes

Versions: 13

Compression:

Stored size: 239 Bytes

Contents

module Codebreaker
  class Difficulty
    attr_reader :name, :attempts, :hints

    def initialize(name:, attempts:, hints:, level:)
      @name = name
      @attempts = attempts
      @hints = hints
      @level = level
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
codebreaker-ga-0.2.14 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.13 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.12 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.11 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.10 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.9 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.8 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.7 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.6 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.5 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.4 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.3 lib/codebreaker/difficulty.rb
codebreaker-ga-0.2.2 lib/codebreaker/difficulty.rb