Ruby lets you access instance variables only through getter and setter methods, but it will create them for you with minimal code, and it lets you invoke a setter as if it were an ordinary variable, much the way you can in Delphi. This makes it easy to add complex setter code later without having to change any client code.
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.59] | The information on this page is for non-military use only. | ||
| You are visitor number 2,923. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | ||
| http://mindprod.com/jgloss/ruby.html | J:\mindprod\jgloss\ruby.html | ||