summaryrefslogtreecommitdiff
path: root/jni/ruby/ext/tk/sample/cmd_resource
blob: 9cc4915546e62eba60dc72ef310001fcb151f959 (plain)
1
2
3
4
5
*BtnFrame.hello.text: HELLO
*BtnFrame.hello.command: ruby {puts "Hello World!!"}
*BTN_CMD.show_msg: {|arg| print "Hello, #{arg}!!\n"}
*hello.show_msg: {|arg| print "Hello, Hello, #{arg}!!\n"}
*hello.ZZZ.show_msg: {|arg| print "Hello, Hello, ZZZ:#{arg}!!\n"}