Sha256: e7878aed8d83ec5a27defa16218f5b29a82791678b034ca9b6a30505864624e7
Contents?: true
Size: 305 Bytes
Versions: 6
Compression:
Stored size: 305 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'ppcurses' action = PPCurses::GetStringAction.new("Input your name: "); def getStringAction(action) action.show() action.execute() end screen = PPCurses::Screen.new() screen.run { getStringAction(action) } puts "Value input was: " + action.data()
Version data entries
6 entries across 6 versions & 1 rubygems