Skip to content

Instantly share code, notes, and snippets.

Created August 6, 2015 16:01
What would you like to do?
roster =
data = PeopleService.fetch(some_search_params)
data.each do |person|
if roster.names.count < 10
roster.names <<
raise "You can't have a roster with more than 10 people on it"
end = :colorized"out.pdf")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment