Conventions are one of Ruby‘s nicest features, making it easier to read and maintain. One convention is that methods which may modify an object have a ‘!’ in their name, such as ‘chop!’, which indicates if there are no changes, then nil is returned. This can cause issues with method chaining.
Search
Browse by Category
- administrivia (2)
- configuration (1)
- metaprogramming (1)
- mini-saga (5)
- programming (10)
- rails (1)
- ruby (15)
- rubygems (2)
- Uncategorized (1)
Browse by Tag
Browse by Month
- September 2009 (1)
- August 2009 (4)
- April 2009 (1)
- February 2009 (11)