RVG and SVuGy: create vector graphic with Ruby

Today we’re going to discover two ways to create vectorial graphic with Ruby; RVG The first way is called RVG and it’s part of the well-known Rmagick library. With RVG you can create custom shapes and then render them to images. Here there is a simple example (taken ...

Ruby Pocket Session #2 - Duck typing

I have to admit it. I have never heard of duck typing, probably because I read “Ruby Programming” to quickly. “Duck typing” is the way Ruby treats variable types. I mean, Ruby is a dynamic language and so variables don’t have explicit representation assignments or declarations. Ruby has dynamic typing, but why has ...

Ruby Pocket Session # 1 - instance_methods

Ruby is a wonderful object oriented programming language. The root class is Object which provides a set of very useful methods among which one called instance_methods. It returns an array with all the public methods of the class or the public methods of the module. Retuning an array you can apply analogical array’s ...

Ruby Pocket Sessions

I have been a full time software developer for many years and I love to keep myself up to date with programming languages and technology in general. Of course in the last two years Ruby and Ruby upon Rails have been my main interests. My time is often circulate over a thousand activities ...

RailsConf 2008 speeches recommendation system

Trying to discover a way to code an application that uses the recommendation library I wrote about a couple of weeks ago, I started thinking on how could be improved a conference’s schedule and I came out with this little speech recommendation system. What is it ? It’s a little web application ...
Page 4 of 11«1234567891011»