Update student.rb

Added return statement