nobu/io-console — Issue #4: Perhaps add getch to StringIO?
Author: sandal
Created: 2012-01-25 17:14:21+00:00
State: open

I used io-console on a recent project and it worked great, but in order to test my code I had to work around the lack of a getch method in StringIO. Could io-console possibly add a small alias mapping `getch` to `getc` on StringIO? Here is what my tests looked like:

```ruby
before do
$stdin = StringIO.new

def $stdin.getch
getc
end
end
```