]> icculus.org git repositories - duncan/yast2-ruby-bindings.git/blob - examples/ruby/scr.ycp
- Lot of fixes and support for the UI!!!
[duncan/yast2-ruby-bindings.git] / examples / ruby / scr.ycp
1 {
2     import "Bar";
3     string result = (string) Bar::try();
4     UI::OpenDialog(
5          `VBox(
6          `Label(result),
7          `PushButton("OK")
8          )
9          );
10     UI::UserInput();
11     UI::CloseDialog();
12 }