Emmanuel Oga’s Weblog

Entradas etiquetadas ‘ruby

Pretty printing xhtml with nokogiri and xslt

Posteado por: emmanueloga en: Septiembre 29, 2009

Pretty printing (or, nice formatting, or, beautifying) xhtml source code using ruby, nokogiri and XSLT.

Etiquetas: , , ,

Conferencia Locos X Rails tomorrow,

Posteado por: emmanueloga en: Abril 2, 2009

Obie Fernandez and Desi McAdam in Argentina

Etiquetas: , ,

Conferencia LocosXRails: falta poco!

Posteado por: emmanueloga en: Marzo 10, 2009

badges ruby and rails conference locosxrails

Etiquetas: , ,

Locos X Rails Conference: Registration Opened!

Posteado por: emmanueloga en: Marzo 4, 2009

locosxrails registration is open

Etiquetas: , ,

Locos por Rails Conference in Buenos Aires, Argentina

Posteado por: emmanueloga en: Enero 23, 2009

Conferencia Locos X Rails Buenos Aires Argentina

Etiquetas: , ,

Handling URIs in ruby a walk in the park? Don’t think so….

Posteado por: emmanueloga en: Octubre 17, 2008

Joining and normalizing ruby URIs

Etiquetas: , ,

Meeting RubyArg (nos visitó Marcel Molina Jr., que calidad!)

Posteado por: emmanueloga en: Agosto 18, 2008

Fotos de la meeting de rubyarg organizada por Pedro Visintin, con la presencia de Marcel Molina

Just for the record, number problem one was to set up mongrel_cluster on init.d.
Soooo. Now “ruby script/console” fails with a “require ‘readline’ failure” or something. The problem was that, for some reason, when i built the ruby interpreter (1.8.6) the readline extension was not built and installed. ruby’s readline extension comes with the standard ruby [...]

Etiquetas: , , , ,

alias versus alias_method

Posteado por: emmanueloga en: Noviembre 1, 2007

alias y alias_method hacen lo mismo: copian un metodo y le asignan un nombre diferente:

class Test
def test
puts "hola"
end
alias copia_test test
alias_method :copia_test2, :test
end

Test.new.test # > "hola"
Test.new.copia_test # > "hola"
Test.new.copia_test2 # > "hola"
Me surgio la curiosidad de [...]

Etiquetas:

Ohhh!!! tan hermoso!!!

Posteado por: emmanueloga en: Octubre 11, 2007

Ah! maravillensen:

def test
puts “hola”
end

Syntax highlighting!!!! No es hermoso???? Conclusion: WordPress le da una paliza, sopita y a la cama a Blogger!!!