search for: is_foo

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

Did you mean: is_fou
2007 Sep 03
1
API survey results & update
...# or textctrl.size = [200, 100] 3) Getter and setter methods can be accessed using the naming style more common in Ruby as well as that more common in C++/Java: * Instance methods like get_foo can be accessed as foo * Instance methods like set_foo can be accessed as foo= * Instance methods like is_foo can be accessed as foo?
2006 Sep 07
2
A little bit of sugar
...ntax (so you can run existing wxRuby code with them). You can require ''wx_sugar/all'' to load all the behaviours, or select particular ones including * ''accessors'' : creates ruby-style accessors (foo instead of get_foo, foo= instead of set_foo, foo? instead of is_foo). If there''s a consensus that we want to follow WxPython in doing this, I''ll submit a patch that implements this at the C API level. * ''keyword_constructors'' : For example, Wx::Button.new(:label => ''press me''); this extension allows you t...