29 Mar '13, 2am

@samsaffron wrt ruby-core:

Issue #5372 has been updated by Yui NARUSE. This seems the long discussed question, what is a zero element. But I don't think this proposal is not worth breaking ActiveSupport's blank?. Anyway what is the usecase of this? I doubt a closed io is a zero element. Do you have a case that you are happy if it is a zero element. ---------------------------------------- Feature #5372: Promote blank? to a core protocol http://redmine.ruby-lang.org/issues/5372 Author: Alex Young Status: Open Priority: Normal Assignee: Category: core Target version: 1.9.4 I don't think there's been a project I've used that hasn't made use of this pattern: if thing.nil? || thing.empty? somewhere in its source. This is necessary because it is idiomatic to return nil where other languages might return a null object, and there is no universal test for nullity which a user-implemented class can provide wi...

Full article: http://www.ruby-forum.com/topic/2664552


Are you a Ninja or Peasant? Weekend fun

rubylearning.com 30 Mar '13, 4am

: The Ruby Logo is Copyright (c) 2006, Yukihiro Matsumoto. I have made extensive references to information, related to Rub...

Run like an elite with these core tips:

triathlon.org 02 Apr '13, 7am

Essential Triathlon Training Tips: Run core By Erin Greene on 01/04/13 at 2:33 pm Your video is loading. If the video fail...