25 Jun
2013
25 Jun
'13
09:35
Hi, I would like to discuss one think that is related to creating UI in YaST in ruby. In YCP it uses terms. In ruby generic terms looks like: term(:VBox,...) but it is not much nice for me, so I create few shortcuts for known UI elements and it looks like this: VBox(...) There is a problem. In UI is often used terms `id and `opts, but it doesn't start with uppercase and there is high chance to collide with existing methods ( beside id collide with ruby id method ). So I propose to translate it to ID(:id) and OPTS(:strechable,:notify) alternative can be Opts and Id. what is your opinion? Thanks Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org