Class: Codebreaker::Rules
- Inherits:
-
Object
- Object
- Codebreaker::Rules
- Includes:
- Constants::Shared
- Defined in:
- lib/codebreaker/rules.rb
Constant Summary
Constants included from Constants::Shared
Constants::Shared::CORRECT_RANGE, Constants::Shared::LENGTH_GOOD, Constants::Shared::REGULAR_FOR_CODE, Constants::Shared::TYPE_OF_DIFFICULTY, Constants::Shared::WINNING_INDEX
Class Method Summary collapse
Class Method Details
.call ⇒ Object
7 8 9 10 11 12 |
# File 'lib/codebreaker/rules.rb', line 7 def self.call I18n.t(:rules, correct_range_first: CORRECT_RANGE.first, correct_range_last: CORRECT_RANGE.last, length_good: LENGTH_GOOD) end |