Skip to content

Instantly share code, notes, and snippets.

@climyao
Created May 4, 2012 02:49
Show Gist options
  • Save climyao/2591572 to your computer and use it in GitHub Desktop.
Save climyao/2591572 to your computer and use it in GitHub Desktop.
output column name and type
klass.columns.each do |column|
puts "# #{column.name} \t#{column.type}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment