class CodebreakerGame::Difficulty

Attributes

attempts[R]
hints[R]
name[R]

Public Class Methods

new(name, hints, attempts) click to toggle source
# File lib/codebreaker_game/entities/difficulty.rb, line 5
def initialize(name, hints, attempts)
  @name = name
  @hints = hints
  @attempts = attempts
end