@xylude, In response to your question about what -- and #{} mean in Ruby, in your example those hyphens or dashes are just part of a string. "--" is just two hyphens, not ruby code. The important part is in the #{}. The pound sign followed by curly braces is used for interpolating variables and evaluating expressions within strings. E.g.
var1 = "some string"
var2 = "String then interpolating a variable #{ var1 }"
In addition to interpolating variables, you can also evaluate expressions inside the #{ }. E.g.
var = "some string"
expression_in_string = "Var reversed: #{ var.reverse}, now in caps: #{ var.upcase }"