Sha256: 575d12b0c208efe43878560a31ba7133565a63ae170738d570e47549b6e9f7b5

Contents?: true

Size: 354 Bytes

Versions: 4

Compression:

Stored size: 354 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require_relative '../lib/ppcurses.rb'

action = PPCurses::GetEnumeratedStringAction.new("Media Type? ",
              ["CD", "Vinyl", "MP3"] );

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ppcurses-0.0.20 test/getEnumStringAction.rb
ppcurses-0.0.19 test/getEnumStringAction.rb
ppcurses-0.0.18 test/getEnumStringAction.rb
ppcurses-0.0.17 test/getEnumStringAction.rb