11 Aug '12, 1am

Muy interesante uso de JRuby, solo un inicio:

Muy interesante uso de JRuby, solo un inicio:

#---------------------------------------------------------------- # Summary: Takes a screenshot of the desktop and saves to disk #---------------------------------------------------------------- # this gives us direct access to Java classes in Ruby include Java # here we are importing Java classes, just like you might require 'yaml' or 'date' import java.awt.Robot import java.awt.Toolkit import java.awt.Rectangle import javax.imageio.ImageIO # Taking the screenshot # 1) Create a new instance of the Robot class # 2) Use the Toolkit class to get the size of the screen # 3) and pass those dimensions to the Robot instance for capture robot = Robot.new toolkit = Toolkit.get_default_toolkit dim = toolkit.get_screen_size rectangle = Rectangle.new(0, 0, dim.get_width, dim.get_height) image = robot.create_screen_capture(rectangle) # Save the file to disk file = java::io::File.new('...

Full article: http://rubylearning.com/blog/2010/09/29/an-introduction-t...

Tweets

JRuby 1.7.0.preview2 Released

jruby.org 11 Aug '12, 10pm

This is the second preview release of JRuby 1.7. The JRuby 1.7 release series represents a tremendous amount of work by do...

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...

#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...

Armée de l'air - Un Super Puma de Solenzara vie...

defense.gouv.fr 11 Aug '12, 8am

En étroite liaison avec le centre régional opérationnel de surveillance et de sauvetage de Méditerranée (CROSS MED), ...

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...

Armée de l'air - Un nouveau stage pour les gendarmes de l’air à Mont-de-Marsan

Armée de l'air - Un nouveau stage pour les gend...

defense.gouv.fr 11 Aug '12, 6pm

Accueilli par le commandant de la base aérienne, le colonel Guillaume Letalenet, l’Igag s’est rendu au centre d’ins...

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...

Bitcoin: El lento auge de la moneda anarquista

Bitcoin: El lento auge de la moneda anarquista

yorokobu.es 07 Aug '12, 1pm

Se dijo que cambiaría el mundo. Que si funcionara, jamás tendríamos que pasar por intermediarios para transferir y utiliza...

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...

Un launches sustainable development network to help find solutions to global problems

Un launches sustainable development network to ...

unep.org 10 Aug '12, 7am

UN launches sustainable development network to help find solutions to global problems Fri, Aug 10, 2012 Research centres, ...

El mecenazgo privado, tabla de salvación de la #Cultura cc @OpenCircle_bv

El mecenazgo privado, tabla de salvación de la ...

abc.es 11 Aug '12, 6pm

El mecenazgo privado se está convirtiendo, en épocas de crisis como la que vivimos, en un acicate fundamental para la crea...

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 ...