Ruby's Object Model: Metaprogramming and other Magic
My talk from Winnipeg.rb 2010-10
My talk from Winnipeg.rb 2010-10
22 Embeds 3,265
| http://www.rubyinside.com |
2966 |
| http://coderwall.com |
165 |
| http://static.slidesharecdn.com |
42 |
| http://rubyusergroup.blogspot.com |
37 |
| http://swik.net |
25 |
| http://feeds.feedburner.com |
8 |
| https://twitter.com |
2 |
| https://twimg0-a.akamaihd.net |
2 |
| https://si0.twimg.com |
2 |
| http://bgror.com |
2 |
| http://readbox.info |
2 |
| http://www.netvibes.com |
2 |
| http://whis.tl |
1 |
| http://dashboard.bloglines.com |
1 |
| http://bitly.com |
1 |
| http://webmail.myemailserv.com |
1 |
| http://ruby.collected.info |
1 |
| http://twitter.com |
1 |
| http://webcache.googleusercontent.com |
1 |
| http://ruby.feedables.com |
1 |
| http://xss.yandex.net |
1 |
| http://web-akademy.dounotech.com |
1 |
More...
Statistics
- Favorites
- 53
- Downloads
- 481
- Embed Views
- 3,265
- Views on SlideShare
- 14,667
- Total Views
- 17,932
module M;def m()puts '1';end;end;
class C;include M;end;
module M;def m()puts '2';end;end;
puts C.new.m 1 year ago Reply
p43 '... saves a snapshot of the module at time of include'
1 module M
2 def m
3 puts '1'
4 end
5 end
6
7 class C
8 include M
9 end
10
11
12 module M
13 def m
14 puts '2'
15 end
16 end
17
18
19 C.new.m
=> 2 1 year ago Reply