test/form/simple_form.rb in ppcurses-0.1.1 vs test/form/simple_form.rb in ppcurses-0.1.2
- old
+ new
@@ -18,10 +18,10 @@
form = PPCurses::Form.new
first_name = PPCurses::InputElement.new('First Name', 10)
last_name = PPCurses::InputElement.new(' Last Name', 10)
-age = PPCurses::InputElement.new_integer_only(' Age', 5)
+age = PPCurses::InputElement.new_integer_only(' Age', 5)
gender = PPCurses::RadioButtonGroup.new(' Sex', %w(Male Female))
button_pair = PPCurses::ButtonPair.new('Submit', 'Cancel')
button_pair.button1.action = method(:handle_submit)
\ No newline at end of file