Sha256: fa1f3b86bb111b28eaa4cc40d723bf01771b1a3aa2e2a32196761f4a49863a0a
Contents?: true
Size: 324 Bytes
Versions: 4
Compression:
Stored size: 324 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require_relative '../lib/ppcurses.rb' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ppcurses-0.0.20 | test/getStringAction.rb |
ppcurses-0.0.19 | test/getStringAction.rb |
ppcurses-0.0.18 | test/getStringAction.rb |
ppcurses-0.0.17 | test/getStringAction.rb |