Sha256: 170447e6f94c3e0e4ffab5921b23f686970d3ad8c75a7f0f0f942ca5e183a227
Contents?: true
Size: 318 Bytes
Versions: 4
Compression:
Stored size: 318 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require_relative '../lib/ppcurses.rb' action = PPCurses::GetBooleanAction.new('Is the sky blue? ') def do_boolean_action(action) action.show action.execute end screen = PPCurses::Screen.new screen.run { do_boolean_action(action) } puts 'Value input was: ' + action.data
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ppcurses-0.0.25 | test/getBooleanAction.rb |
ppcurses-0.0.24 | test/getBooleanAction.rb |
ppcurses-0.0.23 | test/getBooleanAction.rb |
ppcurses-0.0.22 | test/getBooleanAction.rb |