public
Description: ruby2ruby code for my rubyconf08 talk
Homepage:
Clone URL: git://github.com/mchung/ruby2ruby_rubyconf08.git
ruby2ruby_rubyconf08 / 5_yell.rb
100644 14 lines (11 sloc) 0.186 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class Yell
  define_method(:yell) do |word|
     word.upcase!
  end
end
 
if $0 == __FILE__
  require 'rubygems'
  require 'ruby2ruby'
  require 'yaml'
 
  y Ruby2Ruby.translate(Yell)
end