Skip to content

Instantly share code, notes, and snippets.

@eqdw
Created February 4, 2011 20:23
Show Gist options
  • Save eqdw/811698 to your computer and use it in GitHub Desktop.
Save eqdw/811698 to your computer and use it in GitHub Desktop.
#
#
# WOULD THIS WORK, OR WOULD IT BREAK STUFF?
#
#
##OLD WAY
item(:field, :formatter => Proc.new{|derp| herp(derp)})
##NEW WAY
item(:field) do |derp|
herp(derp)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment