Skip to content

Instantly share code, notes, and snippets.

@duckinator
Created November 15, 2009 23:34
Show Gist options
  • Save duckinator/235566 to your computer and use it in GitHub Desktop.
Save duckinator/235566 to your computer and use it in GitHub Desktop.
syntax('+') { |scope,cells|
total = 0
cells.each { |c| total += c.text_value.to_i }
total
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment