Hello, I love the design of your site.
As for nil, you could make nil do nothing when a non-existent method is called on it:
class NilClass def method_missing(*args) end end
nil.do_something! # => nil
This is bad form for production, apparently, but could be quite helpful during development, as you pointed out.
Cheers!
Copyright © Scott Stevenson 2004-2015
by Duke Jones — Feb 04
Hello, I love the design of your site.
As for nil, you could make nil do nothing when a non-existent method is called on it:
class NilClass def method_missing(*args) end end
nil.do_something! # => nil
This is bad form for production, apparently, but could be quite helpful during development, as you pointed out.
Cheers!