Skip to content

Instantly share code, notes, and snippets.

Created January 19, 2014 06:52
Show Gist options
  • Save anonymous/8501384 to your computer and use it in GitHub Desktop.
Save anonymous/8501384 to your computer and use it in GitHub Desktop.
def format_show(customer_set)
customer_set.map do |customer|
next if customer.data.empty?
puts customer.data.map { |item| item.to_s.center output_size }.join'|'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment