plugins/application/lib/application/dialog.rb in redcar-0.12.1 vs plugins/application/lib/application/dialog.rb in redcar-0.13
- old
+ new
@@ -82,10 +82,10 @@
# end
# end
#
# The return value is a hash containing :button and :value.
def self.input(title, message, initial_value="", &validator)
- in_dialog { Redcar.gui.dialog_adapter.input(title, message, initial_value, &validator) }
+ in_dialog { Redcar.gui.dialog_adapter.input(title.to_s, message.to_s, initial_value.to_s, &validator) }
end
# Show a dialog containing a password entry box to the user, and blocks
# until they dismiss it.
#
\ No newline at end of file