lib/baseball/fielding.rb in baseball-1.2.0 vs lib/baseball/fielding.rb in baseball-1.3.0
- old
+ new
@@ -1,8 +1,7 @@
require 'baseball/player'
module Fielding
-
class Fielder < Player::PlayerTemplate
def fielding_percentage
plays = @player[:put_outs] + @player[:assists]
plays_plus_errors = plays + @player[:errors]