Create a new playground:
$ mkdir gana_ground
$ cd gana_ground
$ bundle init
Add this lines to your playground's Gemfile:
gem 'gana'
gem 'curses
And then execute:
$ bundle install
Minimal gana script looks like this:
gana do |t1,t2|
# ...
end
Save it to sample.rb
and then you can run it:
gana sample.rb
Bug reports and pull requests are welcome on GitHub at https://github.com/marshall-lee/gana.
The gem is available as open source under the terms of the MIT License.