test/getDataAction.rb in ppcurses-0.0.16 vs test/getDataAction.rb in ppcurses-0.0.17
- old
+ new
@@ -1,9 +1,8 @@
#!/usr/bin/env ruby
require 'rubygems'
-require 'ppcurses'
-#require_relative '../lib/ppcurses.rb'
+require_relative '../lib/ppcurses.rb'
intAction = PPCurses::GetIntegerAction.new("Input Integer : ");
stringAction = PPCurses::GetStringAction.new("Input your name: ");
action = PPCurses::GetDataAction.new( [intAction, stringAction] )