The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Various hacking

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Christian Neukirchen

Posts: 188
Nickname: chris2
Registered: Mar, 2005

Christian Neukirchen is a student from Biberach, Germany playing and hacking with Ruby.
Various hacking Posted: Mar 28, 2005 1:32 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Christian Neukirchen.
Original Post: Various hacking
Feed Title: chris blogs: Ruby stuff
Feed URL: http://chneukirchen.org/blog/category/ruby.atom
Feed Description: a weblog by christian neukirchen - Ruby stuff
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Christian Neukirchen
Latest Posts From chris blogs: Ruby stuff

Advertisement

I worked over the weekend on various things. First, I fixed darcsum.el to strip/convert ANSI character sequeces, since several people complained. Thanks to Jose Antonio Ortega Ruiz and Matthieu Lemerre for reporting this. Please darcs pull to grab the latest changes.

Then, I spent some more time on Kashmir/Elusion and added a “Do What I Mean” mode. For example, instead of

^entries.each{
  ^recent?.true?{NEW}
  ^body
  ^time.with{^day/^month/^year}
}

You can now write (assuming you use Elusion):

^entries{
  ^recent?{NEW}
  ^body
  ^time{^day/^month/^year}
}

Elusion will then figure out on it’s own what you want to do (If there is an #each, iterate. If it’s true, just call the block. Else yield self to the block.) Also, you can now pass a block to Kashmir#expand to automatically create an Elusion.

Now, there is a restartable exception library to be coded…

NP: Bob Dylan—Knockin’ On Heaven’s Door

Read: Various hacking

Topic: Holy smokes! Previous Topic   Next Topic Topic: Plickr

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use