Module: NBA::DraftCombineNonStationaryShooting::OnMoveCollege Private

Defined in:
lib/nba/draft_combine_non_stationary_shooting.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Extracts on-move college range shot attributes

Class Method Summary collapse

Class Method Details

.left(data) ⇒ Hash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Extracts left break shot attributes from data

Parameters:

  • data (Hash)

    the row data

Returns:

  • (Hash)

    left break shot attributes



241
242
243
244
245
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 241

def self.left(data)
  {on_move_college_break_left_made: data["ON_MOVE_COLLEGE_BREAK_LEFT_MADE"],
   on_move_college_break_left_attempt: data["ON_MOVE_COLLEGE_BREAK_LEFT_ATTEMPT"],
   on_move_college_break_left_pct: data["ON_MOVE_COLLEGE_BREAK_LEFT_PCT"]}
end

.right(data) ⇒ Hash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Extracts right break shot attributes from data

Parameters:

  • data (Hash)

    the row data

Returns:

  • (Hash)

    right break shot attributes



261
262
263
264
265
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 261

def self.right(data)
  {on_move_college_break_right_made: data["ON_MOVE_COLLEGE_BREAK_RIGHT_MADE"],
   on_move_college_break_right_attempt: data["ON_MOVE_COLLEGE_BREAK_RIGHT_ATTEMPT"],
   on_move_college_break_right_pct: data["ON_MOVE_COLLEGE_BREAK_RIGHT_PCT"]}
end

.top(data) ⇒ Hash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Extracts top key shot attributes from data

Parameters:

  • data (Hash)

    the row data

Returns:

  • (Hash)

    top key shot attributes



251
252
253
254
255
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 251

def self.top(data)
  {on_move_college_top_key_made: data["ON_MOVE_COLLEGE_TOP_KEY_MADE"],
   on_move_college_top_key_attempt: data["ON_MOVE_COLLEGE_TOP_KEY_ATTEMPT"],
   on_move_college_top_key_pct: data["ON_MOVE_COLLEGE_TOP_KEY_PCT"]}
end