Daniel Berger

  • Email:
  • Registered on: 02/23/2008
  • Last connection: 02/27/2010

Projects

Activity

Reported issues: 21

02/27/2010

09:17 PM Sapphire Wiki edit: Warning (#2)
09:16 PM Sapphire Wiki edit: Warning (#1)
09:08 PM Sapphire Wiki edit: CHANGES (#36)

02/22/2010

07:09 PM Sapphire Feature Request #22: Add Object#blank?
Ruby on Rails has added the @.blank?@ method to several core classes. I've found that this method is handy outside of Rails as well. An object is blank if it is nil. It is also blank if it responds to @.empty?@ and that method returns true.
07:07 PM Sapphire Support #21: Added tests for the Object class
See the title. Let's add tests for the Object class, including tests for new core methods.
07:06 PM Sapphire Feature Request #20: Add Object#to_bool
An idiom that I see in the wild is this: ...
07:03 PM Sapphire Feature Request #19: Add Object#in?
Add the Object#in? method. Basically, the inverse of @obj.include?(x)@. The rules are simple: The argument to Object#in? must be an object that responds to @.include?@. That method is then called on self, and returns the resulting value.
09:01 AM Sapphire Wiki edit: Object (#3)
08:56 AM Sapphire Wiki edit: Object (#2)

02/20/2010

10:04 AM Sapphire Wiki edit: CHANGES (#35)

Also available in: Atom