Skip to content

Instantly share code, notes, and snippets.

@practicingruby

practicingruby/x.rb

Created Aug 6, 2015
Embed
What would you like to do?
roster = Roster.new
data = PeopleService.fetch(some_search_params)
data.each do |person|
roster.names << person.name
end
roster.style = :colorized
RosterPrintout.new(roster).generate_pdf("out.pdf")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.