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