hoodwink.d enhanced

Fri Aug 12

List generation helper for Rails

def make_list(items, options = {}, type = :ul) lis = items.map {|i| content_tag(:li, yield(i))} content_tag(type, lis * " ", options) end # e.g. make_list(@links) {|l| link_to l.label, l.url}

#rubyist.org

13:40 <@noradio> A[B[A[B[A[A[B[B[Bkj22[A[Bkjjk/quit
13:40 <@noradio> oops
13:40 <@sam-> haha
13:41 <@noradio> sometimes irssi isn't so agile
Like C++, Objective-C is an extension to the C programming language that made it object-oriented. Unlike C++, Objective-C is weakly typed and extremely powerful.

Aaron Hillegass in Cocoa Programming for Mac OS X

RSpec


No, it’s not a new perfume from Ali G, it’s a “Behaviour Specification Framework” for Ruby inspired by Dave Astels’s article A New Look at Test Driven Development. Apparently they’ve been too busy writing tests to get any documentation done so far :o.