[holy ruby programmers batman!] git/svn/patches?
gilesb at gmail.com
Thu Dec 13 14:07:43 EST 2007
Well, go ahead and write it up. I can't guarantee that I'll apply the
patch, but it'll definitely be interesting to look at.
On 12/13/07, Tim Connor <timocratic at gmail.com> wrote:
> Well, I wrote this before I saw your reply in the ruby mailing list,
> so now I know I'll just send you patch format (later in the day when I
> get a break in work). Well, I guess I'll just send them here instead.
> Just having a mailing list probably covers 90% of the tracking needs,
> for now.
> Explanation - duck-typing:
> output = param.to_ruby if responds_to(:to_ruby)
> No need to make a dependency on ParseTree and ruby2ruby, but if they
> have ruby2ruby, and it's enabled, then turn a method binding into it's
> ruby representation. I've played with doing a to_ruby and then
> passing that to the editor call, and it's fun for iterating over a
> couple tries at something. So why not just add a little sugar.
> On Dec 13, 2007 10:47 AM, Giles Bowkett <gilesb at gmail.com> wrote:
> > On 12/13/07, Tim Connor <timocratic at gmail.com> wrote:
> > > I've just been thinking more on the pastie/editor thing, and want to
> > > expand it further. Like if File.exists() then upload or open and
> > > write into the pastie. Stuff like that. Call to_ruby if responds_to,
> > > and be able to just pass in a method binding directly.
> > Can you elaborate in terms of code? Do you mean pass it to Ruby2Ruby
> > if responds_to?
> > --
> > Giles Bowkett
> > Podcast: http://hollywoodgrit.blogspot.com
> > Blog: http://gilesbowkett.blogspot.com
> > Portfolio: http://www.gilesgoatboy.org
> > Tumblelog: http://giles.tumblr.com
> > _______________________________________________
> > Utilitybelt-tinkering mailing list
> > Utilitybelt-tinkering at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering
> Utilitybelt-tinkering mailing list
> Utilitybelt-tinkering at rubyforge.org
More information about the Utilitybelt-tinkering