Class: NBA::DraftCombineNonStationaryShootingResult

Inherits:
Shale::Mapper
  • Object
show all
Defined in:
lib/nba/draft_combine_non_stationary_shooting_result.rb

Overview

Represents a draft combine non-stationary shooting result

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#first_nameString

Returns the player's first name

Examples:

result.first_name #=> "Victor"

Returns:

  • (String)

    the first name



39
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 39

attribute :first_name, Shale::Type::String

#last_nameString

Returns the player's last name

Examples:

result.last_name #=> "Wembanyama"

Returns:

  • (String)

    the last name



47
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 47

attribute :last_name, Shale::Type::String

#off_dribble_college_break_left_attemptInteger

Returns off-dribble college range break left shot attempts

Examples:

result.off_dribble_college_break_left_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



215
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 215

attribute :off_dribble_college_break_left_attempt, Shale::Type::Integer

#off_dribble_college_break_left_madeInteger

Returns off-dribble college range break left shots made

Examples:

result.off_dribble_college_break_left_made #=> 2

Returns:

  • (Integer)

    shots made



207
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 207

attribute :off_dribble_college_break_left_made, Shale::Type::Integer

#off_dribble_college_break_left_pctFloat

Returns off-dribble college range break left shooting percentage

Examples:

result.off_dribble_college_break_left_pct #=> 0.400

Returns:

  • (Float)

    shooting percentage



223
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 223

attribute :off_dribble_college_break_left_pct, Shale::Type::Float

#off_dribble_college_break_right_attemptInteger

Returns off-dribble college range break right shot attempts

Examples:

result.off_dribble_college_break_right_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



263
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 263

attribute :off_dribble_college_break_right_attempt, Shale::Type::Integer

#off_dribble_college_break_right_madeInteger

Returns off-dribble college range break right shots made

Examples:

result.off_dribble_college_break_right_made #=> 2

Returns:

  • (Integer)

    shots made



255
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 255

attribute :off_dribble_college_break_right_made, Shale::Type::Integer

#off_dribble_college_break_right_pctFloat

Returns off-dribble college range break right shooting percentage

Examples:

result.off_dribble_college_break_right_pct #=> 0.400

Returns:

  • (Float)

    shooting percentage



271
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 271

attribute :off_dribble_college_break_right_pct, Shale::Type::Float

#off_dribble_college_top_key_attemptInteger

Returns off-dribble college range top key shot attempts

Examples:

result.off_dribble_college_top_key_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



239
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 239

attribute :off_dribble_college_top_key_attempt, Shale::Type::Integer

#off_dribble_college_top_key_madeInteger

Returns off-dribble college range top key shots made

Examples:

result.off_dribble_college_top_key_made #=> 3

Returns:

  • (Integer)

    shots made



231
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 231

attribute :off_dribble_college_top_key_made, Shale::Type::Integer

#off_dribble_college_top_key_pctFloat

Returns off-dribble college range top key shooting percentage

Examples:

result.off_dribble_college_top_key_pct #=> 0.600

Returns:

  • (Float)

    shooting percentage



247
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 247

attribute :off_dribble_college_top_key_pct, Shale::Type::Float

#off_dribble_fifteen_break_left_attemptInteger

Returns off-dribble 15-foot break left shot attempts

Examples:

result.off_dribble_fifteen_break_left_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



71
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 71

attribute :off_dribble_fifteen_break_left_attempt, Shale::Type::Integer

#off_dribble_fifteen_break_left_madeInteger

Returns off-dribble 15-foot break left shots made

Examples:

result.off_dribble_fifteen_break_left_made #=> 3

Returns:

  • (Integer)

    shots made



63
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 63

attribute :off_dribble_fifteen_break_left_made, Shale::Type::Integer

#off_dribble_fifteen_break_left_pctFloat

Returns off-dribble 15-foot break left shooting percentage

Examples:

result.off_dribble_fifteen_break_left_pct #=> 0.600

Returns:

  • (Float)

    shooting percentage



79
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 79

attribute :off_dribble_fifteen_break_left_pct, Shale::Type::Float

#off_dribble_fifteen_break_right_attemptInteger

Returns off-dribble 15-foot break right shot attempts

Examples:

result.off_dribble_fifteen_break_right_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



119
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 119

attribute :off_dribble_fifteen_break_right_attempt, Shale::Type::Integer

#off_dribble_fifteen_break_right_madeInteger

Returns off-dribble 15-foot break right shots made

Examples:

result.off_dribble_fifteen_break_right_made #=> 3

Returns:

  • (Integer)

    shots made



111
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 111

attribute :off_dribble_fifteen_break_right_made, Shale::Type::Integer

#off_dribble_fifteen_break_right_pctFloat

Returns off-dribble 15-foot break right shooting percentage

Examples:

result.off_dribble_fifteen_break_right_pct #=> 0.600

Returns:

  • (Float)

    shooting percentage



127
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 127

attribute :off_dribble_fifteen_break_right_pct, Shale::Type::Float

#off_dribble_fifteen_top_key_attemptInteger

Returns off-dribble 15-foot top key shot attempts

Examples:

result.off_dribble_fifteen_top_key_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



95
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 95

attribute :off_dribble_fifteen_top_key_attempt, Shale::Type::Integer

#off_dribble_fifteen_top_key_madeInteger

Returns off-dribble 15-foot top key shots made

Examples:

result.off_dribble_fifteen_top_key_made #=> 4

Returns:

  • (Integer)

    shots made



87
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 87

attribute :off_dribble_fifteen_top_key_made, Shale::Type::Integer

#off_dribble_fifteen_top_key_pctFloat

Returns off-dribble 15-foot top key shooting percentage

Examples:

result.off_dribble_fifteen_top_key_pct #=> 0.800

Returns:

  • (Float)

    shooting percentage



103
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 103

attribute :off_dribble_fifteen_top_key_pct, Shale::Type::Float

#on_move_college_break_left_attemptInteger

Returns on-the-move college range break left shot attempts

Examples:

result.on_move_college_break_left_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



287
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 287

attribute :on_move_college_break_left_attempt, Shale::Type::Integer

#on_move_college_break_left_madeInteger

Returns on-the-move college range break left shots made

Examples:

result.on_move_college_break_left_made #=> 1

Returns:

  • (Integer)

    shots made



279
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 279

attribute :on_move_college_break_left_made, Shale::Type::Integer

#on_move_college_break_left_pctFloat

Returns on-the-move college range break left shooting percentage

Examples:

result.on_move_college_break_left_pct #=> 0.200

Returns:

  • (Float)

    shooting percentage



295
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 295

attribute :on_move_college_break_left_pct, Shale::Type::Float

#on_move_college_break_right_attemptInteger

Returns on-the-move college range break right shot attempts

Examples:

result.on_move_college_break_right_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



335
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 335

attribute :on_move_college_break_right_attempt, Shale::Type::Integer

#on_move_college_break_right_madeInteger

Returns on-the-move college range break right shots made

Examples:

result.on_move_college_break_right_made #=> 1

Returns:

  • (Integer)

    shots made



327
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 327

attribute :on_move_college_break_right_made, Shale::Type::Integer

#on_move_college_break_right_pctFloat

Returns on-the-move college range break right shooting percentage

Examples:

result.on_move_college_break_right_pct #=> 0.200

Returns:

  • (Float)

    shooting percentage



343
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 343

attribute :on_move_college_break_right_pct, Shale::Type::Float

#on_move_college_top_key_attemptInteger

Returns on-the-move college range top key shot attempts

Examples:

result.on_move_college_top_key_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



311
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 311

attribute :on_move_college_top_key_attempt, Shale::Type::Integer

#on_move_college_top_key_madeInteger

Returns on-the-move college range top key shots made

Examples:

result.on_move_college_top_key_made #=> 2

Returns:

  • (Integer)

    shots made



303
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 303

attribute :on_move_college_top_key_made, Shale::Type::Integer

#on_move_college_top_key_pctFloat

Returns on-the-move college range top key shooting percentage

Examples:

result.on_move_college_top_key_pct #=> 0.400

Returns:

  • (Float)

    shooting percentage



319
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 319

attribute :on_move_college_top_key_pct, Shale::Type::Float

#on_move_fifteen_break_left_attemptInteger

Returns on-the-move 15-foot break left shot attempts

Examples:

result.on_move_fifteen_break_left_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



143
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 143

attribute :on_move_fifteen_break_left_attempt, Shale::Type::Integer

#on_move_fifteen_break_left_madeInteger

Returns on-the-move 15-foot break left shots made

Examples:

result.on_move_fifteen_break_left_made #=> 2

Returns:

  • (Integer)

    shots made



135
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 135

attribute :on_move_fifteen_break_left_made, Shale::Type::Integer

#on_move_fifteen_break_left_pctFloat

Returns on-the-move 15-foot break left shooting percentage

Examples:

result.on_move_fifteen_break_left_pct #=> 0.400

Returns:

  • (Float)

    shooting percentage



151
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 151

attribute :on_move_fifteen_break_left_pct, Shale::Type::Float

#on_move_fifteen_break_right_attemptInteger

Returns on-the-move 15-foot break right shot attempts

Examples:

result.on_move_fifteen_break_right_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



191
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 191

attribute :on_move_fifteen_break_right_attempt, Shale::Type::Integer

#on_move_fifteen_break_right_madeInteger

Returns on-the-move 15-foot break right shots made

Examples:

result.on_move_fifteen_break_right_made #=> 2

Returns:

  • (Integer)

    shots made



183
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 183

attribute :on_move_fifteen_break_right_made, Shale::Type::Integer

#on_move_fifteen_break_right_pctFloat

Returns on-the-move 15-foot break right shooting percentage

Examples:

result.on_move_fifteen_break_right_pct #=> 0.400

Returns:

  • (Float)

    shooting percentage



199
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 199

attribute :on_move_fifteen_break_right_pct, Shale::Type::Float

#on_move_fifteen_top_key_attemptInteger

Returns on-the-move 15-foot top key shot attempts

Examples:

result.on_move_fifteen_top_key_attempt #=> 5

Returns:

  • (Integer)

    shot attempts



167
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 167

attribute :on_move_fifteen_top_key_attempt, Shale::Type::Integer

#on_move_fifteen_top_key_madeInteger

Returns on-the-move 15-foot top key shots made

Examples:

result.on_move_fifteen_top_key_made #=> 3

Returns:

  • (Integer)

    shots made



159
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 159

attribute :on_move_fifteen_top_key_made, Shale::Type::Integer

#on_move_fifteen_top_key_pctFloat

Returns on-the-move 15-foot top key shooting percentage

Examples:

result.on_move_fifteen_top_key_pct #=> 0.600

Returns:

  • (Float)

    shooting percentage



175
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 175

attribute :on_move_fifteen_top_key_pct, Shale::Type::Float

#player_idInteger

Returns the player ID

Examples:

result.player_id #=> 1630162

Returns:

  • (Integer)

    the player ID



23
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 23

attribute :player_id, Shale::Type::Integer

#player_nameString

Returns the player name

Examples:

result.player_name #=> "Victor Wembanyama"

Returns:

  • (String)

    the player name



31
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 31

attribute :player_name, Shale::Type::String

#positionString

Returns the player's position

Examples:

result.position #=> "C"

Returns:

  • (String)

    the position



55
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 55

attribute :position, Shale::Type::String

#temp_player_idInteger

Returns the temporary player ID

Examples:

result.temp_player_id #=> 1

Returns:

  • (Integer)

    the temporary player ID



15
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 15

attribute :temp_player_id, Shale::Type::Integer

Instance Method Details

#playerPlayer?

Returns the player object

Examples:

result.player #=> #<NBA::Player>

Returns:

  • (Player, nil)

    the player object



351
352
353
# File 'lib/nba/draft_combine_non_stationary_shooting_result.rb', line 351

def player
  Players.find(player_id)
end