Fork me on GitHub

Syntax Highlighting Example

by Danielle Wingler

28 Aug 2013

Here is some example code of ruby: (It was found here)

# Ruby knows what you
# mean, even if you
# want to do math on
# an entire Array
cities  = %w[ London
              Oslo
              Paris
              Amsterdam
              Berlin ]
visited = %w[Berlin Oslo]

puts "I still need " +
     "to visit the " +
     "following cities:",
     cities - visited
Danielle is a BSIS student. Looking forward to learning more about programming. Still exploring career paths within the information science field. Find Danielle Wingler on Twitter, Github, and on the web.
comments powered by Disqus