Module: NBA::DraftCombineNonStationaryShooting::OnMoveFifteen 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 fifteen-foot shot attributes

API:

  • private

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:

  • the row data

Returns:

  • left break shot attributes

API:

  • private



173
174
175
176
177
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 173

def self.left(data)
  {on_move_fifteen_break_left_made: data["ON_MOVE_FIFTEEN_BREAK_LEFT_MADE"],
   on_move_fifteen_break_left_attempt: data["ON_MOVE_FIFTEEN_BREAK_LEFT_ATTEMPT"],
   on_move_fifteen_break_left_pct: data["ON_MOVE_FIFTEEN_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:

  • the row data

Returns:

  • right break shot attributes

API:

  • private



193
194
195
196
197
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 193

def self.right(data)
  {on_move_fifteen_break_right_made: data["ON_MOVE_FIFTEEN_BREAK_RIGHT_MADE"],
   on_move_fifteen_break_right_attempt: data["ON_MOVE_FIFTEEN_BREAK_RIGHT_ATTEMPT"],
   on_move_fifteen_break_right_pct: data["ON_MOVE_FIFTEEN_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:

  • the row data

Returns:

  • top key shot attributes

API:

  • private



183
184
185
186
187
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 183

def self.top(data)
  {on_move_fifteen_top_key_made: data["ON_MOVE_FIFTEEN_TOP_KEY_MADE"],
   on_move_fifteen_top_key_attempt: data["ON_MOVE_FIFTEEN_TOP_KEY_ATTEMPT"],
   on_move_fifteen_top_key_pct: data["ON_MOVE_FIFTEEN_TOP_KEY_PCT"]}
end