×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content

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.

Like this presentation? Why not share!

Ruby's Object Model: Metaprogramming and other Magic

by Software Developer at Shopify on Oct 29, 2010

  • 23,048 views

My talk from Winnipeg.rb 2010-10

My talk from Winnipeg.rb 2010-10

Statistics

Views

Total Views
23,048
Views on SlideShare
18,039
Embed Views
5,009

Actions

Likes
62
Downloads
599
Comments
4

56 Embeds 5,009

http://www.rubyinside.com 3542
http://prod.staging.translationzone.com 209
http://staging.sdl.com 206
http://coderwall.com 178
http://staging1.sdl.com 154
http://www.ussherpress.com 74
http://acc.live.sdl.com 63
http://swik.net 51
http://sdlwebdevcd.ams.dev:89 48
http://static.slidesharecdn.com 42
http://rubyusergroup.blogspot.com 40
http://localhost:9991 38
http://staging1.translationzone.com 37
http://dev.staging.sdl.com 34
http://prod.staging.sdl.com 33
http://sdlwebdevcd.ams.dev:1001 33
http://www.sdl.com 28
http://sdlwebdevcd.ams.dev:1012 19
http://live1.translationzone.com 17
http://localhost:9989 17
http://live1.sdl.com 14
http://localhost:9999 13
http://beta.translationzone.com 12
http://sdlwebdevcd.ams.dev:1002 10
http://localhost:9981 10
http://sdlwebdevcd.ams.dev 9
http://feeds.feedburner.com 8
http://acc.live.translationzone.com 8
http://sdlwebdevcd.ams.dev:2003 6
http://www.translationzone.com 5
http://sdlwebdevcd.ams.dev:1011 5
http://localhost:9971 4
http://localhost:1001 4
http://dev.staging.translationzone.com 4
http://display.engagesciences.com 3
http://bgror.com 3
http://readbox.info 2
http://www.netvibes.com 2
http://sdlwebdevcd.ams.dev:1003 2
https://si0.twimg.com 2
http://rubyusergroup.blogspot.fr 2
https://twimg0-a.akamaihd.net 2
https://twitter.com 2
http://translationzone.com 2
http://webmail.myemailserv.com 1
http://web-akademy.dounotech.com 1
http://localhost:1003 1
http://dashboard.bloglines.com 1
http://whis.tl 1
http://bitly.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

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 3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • 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. 3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • 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
    3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • 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
    3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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