Sha256: 547711fc3b80a678e8698c9b6cc4e232b2beba9dbba0ccbc252dde64488f7795

Contents?: true

Size: 1017 Bytes

Versions: 19

Compression:

Stored size: 1017 Bytes

Contents

module Pokerstats
  module HandConstants
    HAND_REPORT_SPECIFICATION = [
      # [key,   sql_type,   function]
      [:session_filename, 'string'],
      [:starting_at, 'datetime'],
      [:name, 'string'], 
      [:description, 'string'], 
      [:sb, 'decimal'], 
      [:bb, 'decimal'], 
      [:board, 'string'], 
      [:total_pot, 'decimal'], 
      [:rake, 'decimal'], 
      [:played_at, 'datetime'], 
      [:tournament, 'string']
    ]
    HAND_INFORMATION_KEYS = HAND_REPORT_SPECIFICATION.map{|each| each.first}
    HAND_RECORD_INCOMPLETE_MESSAGE = "hand record is incomplete"
    PLAYER_RECORDS_NO_PLAYER_REGISTERED = "no players have been registered"
    PLAYER_RECORDS_DUPLICATE_PLAYER_NAME = "player screen_name has been registered twice"
    PLAYER_RECORDS_NO_BUTTON_REGISTERED = "no button has been registered"
    PLAYER_RECORDS_UNREGISTERED_PLAYER = "player has not been registered"
    PLAYER_RECORDS_OUT_OF_BALANCE = "hand record is out of balance"                

    MAX_SEATS = 12
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
wizardwerdna-pokerstats-1.0.15 lib/pokerstats/hand_constants.rb
wizardwerdna-pokerstats-1.0.16 lib/pokerstats/hand_constants.rb
wizardwerdna-pokerstats-1.0.17 lib/pokerstats/hand_constants.rb
wizardwerdna-pokerstats-1.0.18 lib/pokerstats/hand_constants.rb
wizardwerdna-pokerstats-1.0.19 lib/pokerstats/hand_constants.rb
wizardwerdna-pokerstats-1.0.22 lib/pokerstats/hand_constants.rb
wizardwerdna-pokerstats-2.0.0 lib/pokerstats/hand_constants.rb
pokerstats-2.0.12 lib/pokerstats/hand_constants.rb
pokerstats-2.0.11 lib/pokerstats/hand_constants.rb
pokerstats-2.0.10 lib/pokerstats/hand_constants.rb
pokerstats-2.0.9 lib/pokerstats/hand_constants.rb
pokerstats-2.0.8 lib/pokerstats/hand_constants.rb
pokerstats-2.0.7 lib/pokerstats/hand_constants.rb
pokerstats-2.0.6 lib/pokerstats/hand_constants.rb
pokerstats-2.0.5 lib/pokerstats/hand_constants.rb
pokerstats-2.0.4 lib/pokerstats/hand_constants.rb
pokerstats-2.0.3 lib/pokerstats/hand_constants.rb
pokerstats-2.0.2 lib/pokerstats/hand_constants.rb
pokerstats-2.0.1 lib/pokerstats/hand_constants.rb