Teamcoding.com

one part peopleware, one part software

Kris Leech

Software Engineer, Open source contributor, Occasional blogger, Remote worker, Father.

Found on

Using `to_str` in Ruby

- - posted in ruby | Comments

I thought I’d share a git commit from today which I found quite interesting. It is the adding of a to_str method to an Address value object. In the spec I type check the return on to_str to make sure it is a String.

1
Add Address#to_str since address can easily be coerced in to a String

Zero Inbox Tip

- - posted in gtd | Comments

desktop screenshot

Here is an easy tip for getting a zero inbox.

Add a filter to move any mail with “no-reply” in the sender in to a seperate folder, it is automated mail so is unlikely to be urgent.