08 Aug '12, 6am

Do you know how to write an internal DSL in Ruby?:

Ruby code blocks (called closures in other languages) are chunks of code between braces or between do- end that you can associate with method invocations, almost as if they were parameters. A Ruby block is a way of grouping statements, and may appear only in the source next to a method call; the block is written starting on the same line as the method call’s last parameter (or the closing parenthesis of the parameter list). The code in the block is not executed at the time it is encountered. Instead, Ruby remembers the context in which the block appears (the local variables, the current object, and so on) and then enters the method. Matz says that any method can be called with a block as an implicit argument. Inside the method, you can call the block using the yield keyword with a value. Blocks are not objects, but they can be converted into objects of class Proc . One way...

Full article: http://rubylearning.com/blog/2011/10/02/do-you-know-how-t...

Tweets

Did you know ActiveSupport has examples which w...

api.rubyonrails.org 07 Aug '12, 1pm

implementation assumes that the encoding of the string is UTF-8, if you want to handle different encodings you can write y...

Problems with gems and Ruby 1.8.7 - Ruby Forum:

ruby-forum.com 08 Aug '12, 5am

Hello... yum install ruby-devel solved it for me when installing rails [waldyd@waldyd Homework 2]$ sudo gem install rails ...

Old but good post on Ruby mixins and a class alternative:

Old but good post on Ruby mixins and a class al...

robots.thoughtbot.com 08 Aug '12, 9pm

Ruby’s “mixins” provide a simple, middle-ground option to developers that wish to include reusable functionality in severa...

#Ruby on the surface is such a simple language ...

ruby-lang.org 11 Aug '12, 6am

Instance variables are hidden away inside the object. They’re not terribly hidden, you see them whenever you inspect the o...

La carenza di programmatori Ruby - Ruby Forum:

ruby-forum.com 09 Aug '12, 12pm

Il 17/04/2012 13:34, Andrea Dallera ha scritto: > L' opzione c) cosa sarebbe esattamente? Per chi lavoreresti? Che sicurez...

How to install and configure Ruby on Rails with...

ruby-forum.com 06 Aug '12, 3am

Hi All, I decided to write some blog entries on my pet project for running Ruby 1.9.2 and Ruby on Rails 3.0.5 on Windows S...

Woohoo! bootstrap_flash_messages is featured in...

rubyweekly.com 09 Aug '12, 12pm

'Refinements' Added to Ruby Trunk Floating around as an idea for a couple of years now, 'refinements' extend the functiona...

Le langage Ruby:

ruby-lang.org 10 Aug '12, 10am

Sortie de la version 1.8.7-p370 de Ruby Comme nous vous l'avions expliqué précédemment, nous mettons à votre disposition u...

to lendo esse livro para ver se melhoro em ruby

to lendo esse livro para ver se melhoro em ruby

rubybestpractices.com 02 Aug '12, 3am

We can all write better Ruby code Though we don't like to admit it, all hackers churn out bad code from time to time. But ...

Any #Ruby experts out there know about using Ne...

ruby-forum.com 09 Aug '12, 2pm

I'm trying to use Net::HTTP::Proxy to proxy HTTPS traffic and I've got the following code: proxy = Net::HTTP::Proxy(proxy_...

Decent article: "Ruby concurrency explained"

Decent article: "Ruby concurrency explained"

merbist.com 08 Aug '12, 5pm

Earlier we talked a bit about the actor model . Since Ruby 1.9, developers now have access to a new type of “lightweight” ...

Ruby Fibers: 8 Useful Reads On Ruby’s New Concu...

rubyinside.com 08 Aug '12, 8am

Ruby Fibers: 8 Useful Reads On Ruby’s New Concurrency Feature By Peter Cooper / May 13, 2009 New to Ruby 1.9 is the concep...

Write with style. Tiffany pens:

tiffany.com 08 Aug '12, 8pm

Sunglasses Handbags Tiffany Leather Goods Small Leather Goods Key Rings Men's Accessories Scarves Sterling Accessories Wri...

RubyFlow.ru — новости о Ruby и Ruby on Rails, о...

rubyflow.ru 11 Aug '12, 6am

Псевдо-стриминг минимальными средствами для Ruby приложения Mikhailov Anatoly На проекте Sonru вместо трансляции медиа-кон...

1.8系→1.9系で色々と変わっているので勉強しなきゃ。 【Ruby 1.9.1 の歩き方】

jp.rubyist.net 08 Aug '12, 3pm

1 月 31 日に、ついに、 Ruby 1.9.1 がリリース されました。作業をされたみなさん、ありがとうございます。 このリリースは、1.9 系統初の安定版リリースです。 Ruby 1.9 については、 今号のるびまにもいくつかの記事 (R...