# Elections, in Ruby

DevFeed: [Elections, in Ruby](<https://devfeed.tech/articles/elections-in-ruby-37707.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/elections/>)

Author: Carlos Alexandro Becker

Published: 2014-10-10T00:00:00Z

Content type: article

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [Script](<https://devfeed.tech/topics/script.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [metaprogramming](<https://devfeed.tech/tags/metaprogramming.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [script](<https://devfeed.tech/tags/script.md>), [updated](<https://devfeed.tech/tags/updated.md>)

## AI overview

A short Ruby article describing a script that parses Brazilian election results and displays the top three candidates. It also mentions metaprogramming in the String class and an update adding a second-round script.

## Source excerpt

Updated with second round script in Oct 26, 2014.