Class: ChankoAb::Logic::HexIdentifier

Inherits:
Base
  • Object
show all
Defined in:
lib/chanko_ab/logic/hex_identifier.rb

Instance Method Summary collapse

Methods inherited from Base

#ab_index, #data, #fetch, #initialize, #item, #log, #log_key, #name, #should_run_default?, #validate!

Constructor Details

This class inherits a constructor from ChankoAb::Logic::Base

Instance Method Details

#assigned_numberObject



10
11
12
# File 'lib/chanko_ab/logic/hex_identifier.rb', line 10

def assigned_number
  @identifier.slice(-(@using_index + 1)).to_i(16)
end

#just_pattern_sizesObject



6
7
8
# File 'lib/chanko_ab/logic/hex_identifier.rb', line 6

def just_pattern_sizes
  [1, 2, 4, 8, 16]
end