XML 38 R27.htm IDEA: XBRL DOCUMENT v3.3.1.900
Earnings Per Share (Tables)
6 Months Ended
Jan. 31, 2016
Earnings Per Share [Abstract]  
Summary of weighted-average number of shares used in the calculation of basic and diluted earnings per share

  Three Months Ended
January 31,
  Six Months Ended
January 31,
 
  2016  2015  2016  2015 
   (in thousands) 
Basic weighted-average number of shares  22,799   22,818   22,867   22,783 
Effect of dilutive securities:                
Stock options     52      40 
Non-vested restricted Class B common stock     355   17   332 
Diluted weighted-average number of shares  22,799   23,225   22,884   23,155 
Shares excluded from the diluted earnings per share computations

  Three Months Ended
January 31,
  Six Months Ended
January 31,
 
  2016  2015  2016  2015 
   (in thousands) 
Shares excluded from the calculation of diluted earnings per share  265   16   266   42