search for: un_camelcase

Displaying 3 results from an estimated 3 matches for "un_camelcase".

2005 Aug 05
1
Validator
...a bit unclear on is the whole (directors="1"). I''ll investigate that this weekend, too. Finally, one last little problem. It appears the C->ruby renamer isn''t handling names like centreX properly. centreX should be converted to centre_x as I understand it. The un_camelcase function in renamer.rb apparenly only uncamelcases if the first characters are uppercase. Thoughts? Roy
2007 May 21
0
[1025] trunk/wxruby2/swig: Use Wx::THE_APP constant as global reference to App (as per WxWidgets);
...pan><ins>+ return line if quoted_method_name == ''"THE_APP"'' </ins><span class="cx"> method_name = quoted_method_name[1..-2] </span><span class="cx"> new_method_name = ''"'' + un_camelcase(method_name) + ''"'' </span><span class="cx"> line[quoted_method_name] = new_method_name </span></span></pre> </div> </div> </body> </html>
2006 Sep 11
15
ruby method names
Hi Attached is a patch that adds aliases to the API for methods that look like attribute accessors. So a_frame.set_title(''The title'') # currently a_frame.title = ''The title'' # now an alternative textctrl.get_value # currently textctrl.value # now an alternative Also, C++ methods named ''IsXXX'' are now exposed in ruby with