JRubyFX question


as JRubyFX newbie I’ve a question about data exchange between classes.

I’ve a programm that uses JRubyFX with FXML:

... class GUI < JRubyFX::Application def start(stage) stage.title = TITLE stage.fxml GUIController stage.show() end end

class GUIController
include JRubyFX::Controller
fxml “jAsciiDoctor.fxml”


How can I transmit informations / variables from class ‘GUI’ to class
‘GUIController’ ?

Thanks in advance.