Skip to content

Instantly share code, notes, and snippets.

@jarib
Created May 23, 2009 19:53
Show Gist options
  • Save jarib/116743 to your computer and use it in GitHub Desktop.
Save jarib/116743 to your computer and use it in GitHub Desktop.
$ cat example.rb
require "rubygems"
require "highline"
puts "Type a char: "
p :got => HighLine::SystemExtensions.get_character
$ ruby example.rb
Type a char:
{:got=>115}
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment