Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
def split_string(string, key)
items = string.value.split(" " + key.value + " ")
if items.count == 1
else{|i|, :comma)

This comment has been minimized.

Copy link

Snugug commented Jan 13, 2013

SyntaxError on line 28 of /Users/Richard/Development/susy/test/config.rb: compile error
/Users/Richard/Development/susy/test/config.rb:25: syntax error, unexpected ',', expecting '}'
...|, :comma)
Run with --trace to see the full backtrace
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.