Sha256: c5c3a610a528ef7f4c93ff822f677bc3632109b32a982ddea4bc2bb1699bb503
Contents?: true
Size: 325 Bytes
Versions: 5
Compression:
Stored size: 325 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require_relative '../lib/ppcurses.rb' action = PPCurses::GetIntegerAction.new('Input Integer : ') def do_integer_action(action) action.show() action.execute() end screen = PPCurses::Screen.new() screen.run { do_integer_action(action) } puts 'Value input was: ' + action.data()
Version data entries
5 entries across 5 versions & 1 rubygems