tag:blogger.com,1999:blog-8512553837845348385.post4922345086068944620..comments2021-05-14T07:45:39.929-04:00Comments on Attack of the Codosaurus!: Ruby Geekery: Defining method_missing and respond_to at the same timeDave Aronsonhttp://www.blogger.com/profile/05727750970755433075noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8512553837845348385.post-81848398789154910902011-12-09T10:05:55.899-05:002011-12-09T10:05:55.899-05:00At the very least, it can be useful when providing...At the very least, it can be useful when providing extension modules for DCI or other mixing-in purposes. It lets you see what the class you're extending responds to, so that you don't make too many far-reaching assumptions about its existing capabilities. Jim Gay gave a talk on DCI at Arlington Ruby Meetup, and made a followup blog post, where he discusses that. (I've been meaningDave Aronsonhttps://www.blogger.com/profile/05727750970755433075noreply@blogger.comtag:blogger.com,1999:blog-8512553837845348385.post-7335610240062395302011-12-08T21:24:49.198-05:002011-12-08T21:24:49.198-05:00I don't know why Ruby doesn't handle it au...I don't know why Ruby doesn't handle it automatically, but I tend to wonder how often respond_to? is used in real code.Broken Andyhttps://www.blogger.com/profile/01562569871940946226noreply@blogger.com