• Email
  • Like
  • Save
  • Private Content
  • Embed

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Ruby's Object Model: Metaprogramming and other Magic

by

  • 20,677 views

My talk from Winnipeg.rb 2010-10

My talk from Winnipeg.rb 2010-10

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Apple Keynote

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

34 Embeds 3,936

http://www.rubyinside.com 3370
http://coderwall.com 178
http://www.ussherpress.com 69
http://swik.net 51
http://static.slidesharecdn.com 42
http://rubyusergroup.blogspot.com 40
http://prod.staging.sdl.com 33
http://dev.staging.sdl.com 31
http://acc.live.sdl.com 30
http://prod.staging.translationzone.com 18
http://localhost:9991 16
http://www.sdl.com 11
http://beta.translationzone.com 9
http://feeds.feedburner.com 8
http://bgror.com 3
http://display.engagesciences.com 3
https://si0.twimg.com 2
https://twimg0-a.akamaihd.net 2
http://acc.live.translationzone.com 2
https://twitter.com 2
http://readbox.info 2
http://www.netvibes.com 2
http://whis.tl 1
http://rubyusergroup.blogspot.jp 1
http://webmail.myemailserv.com 1
http://xss.yandex.net 1
http://ruby.feedables.com 1
http://webcache.googleusercontent.com 1
http://twitter.com 1
http://ruby.collected.info 1
http://rubyusergroup.blogspot.fr 1
http://web-akademy.dounotech.com 1
http://bitly.com 1
http://dashboard.bloglines.com 1

More...

Statistics

Likes
61
Downloads
567
Comments
4
Embed Views
3,936
Views on SlideShare
16,741
Total Views
20,677

14 of 4 previous next Post a comment

  • burkelibbey Burke Libbey, Software Developer at Shopify There are some interesting corrections in the thread on reddit: http://www.reddit.com/r/ruby/comments/e0g1s/a_look_into_rubys_object_model/c14d0xq 2 years ago
    Are you sure you want to
  • burkelibbey Burke Libbey, Software Developer at Shopify @Alexandr It made more sense when I was explaining this in person, but I was trying to contrast two different methods that ruby _could_ have used to implement modules. I sort of explained some of the consequences of copying a module at include time, and why that's a bad idea. Slide 44 explains the other possible method, and the way ruby actually does it. 2 years ago
    Are you sure you want to
  • saksmlz Alexandr Rahalevich hm... not supports formatting


    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
    2 years ago
    Are you sure you want to
  • saksmlz Alexandr Rahalevich What does it mean?
    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
    2 years ago
    Are you sure you want to
Post Comment
Edit your comment

Ruby’s Object Model: Metaprogramming and other Magic Ruby’s Object Model: Metaprogramming and other Magic Presentation Transcript