From: Stefan Lang Date: 2005-11-28T01:36:03+09:00 Subject: Re: [ANN] Turing 0.0.7 && cry for help On Sunday 27 November 2005 17:12, Ross Bamford wrote: > On Sun, 27 Nov 2005 12:05:35 -0000, Michal wrote: [...] > > If anyone is interested, the trick is overriding to_yaml method: > > > > def spec.to_yaml > > out = super > > out = '--- ' + out unless out =~ /^---/ > > out > > end > > > > on Gem::Specification instance :-) God bless Ruby's open classes > > :-) > > > > Rg, > > M. > > Amen to that :). I've been hit with this same problem I think, so > thanks all from me too :) Great! Rant uses this trick now, too. Thankfully, Stefan