Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
upsert / spec / misc / get_postgres_reserved_words.rb
Size: Mime:
require 'remote_table'

a = RemoteTable.new(
      :url => 'http://www.postgresql.org/docs/9.1/static/sql-keywords-appendix.html',
      :row_css => 'table.CALSTABLE tbody tr',
      :column_css => 'td',
      :headers => %w{ key_word }
    )

a.each do |row|
  puts row['key_word']
end