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
-
.left(data) ⇒ Hash
private
Extracts left break shot attributes from data.
-
.right(data) ⇒ Hash
private
Extracts right break shot attributes from data.
-
.top(data) ⇒ Hash
private
Extracts top key shot attributes from data.
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
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
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
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 |