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