Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch classType {
- case "sports":
- tmpRow = SportsClass(row)
- case "science":
- tmpRow = ScienceClass(row)
- case "nature":
- tmpRow = NatureClass(row)
- default:
- return nil
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement