Sha256: 731e2d21ed6ad1e1c257e2194ce02cc1378c89fbebb874263eaccb40cec35f0d

Contents?: true

Size: 305 Bytes

Versions: 5

Compression:

Stored size: 305 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'ppcurses'

action = PPCurses::GetIntegerAction.new("Input Integer : ");

def doIntegerAction(action)
  action.show()
  action.execute()
end

screen = PPCurses::Screen.new()
screen.run { doIntegerAction(action) }

puts "Value input was: " + action.data()  

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ppcurses-0.0.16 test/getIntegerAction.rb
ppcurses-0.0.15 test/getIntegerAction.rb
ppcurses-0.0.14 test/getIntegerAction.rb
ppcurses-0.0.13 test/getIntegerAction.rb
ppcurses-0.0.12 test/getIntegerAction.rb