search for: new_method_name

Displaying 2 results from an estimated 2 matches for "new_method_name".

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
2007 May 21
0
[1025] trunk/wxruby2/swig: Use Wx::THE_APP constant as global reference to App (as per WxWidgets);
...t; quoted_method_name = match[0] </span><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>