Reread the assignment more carefully; the requirement is to make up three method names of your own choosing, not to replicate the example. My ouput looks like this
---- Define class MyOwnMetaClass ---- Define method method_missing for MyOwnMetaClass ---- Create an instance of MyOwnMetaClass ----Call non-existent methods bogus_method_name has 17 characters there_is_no_method_here has 23 characters method2 has 7 characters The idea is to show that the missing_method can deduce the string length of the method name, no matter how long it is. Mark Almeida Al Snow wrote: > Thanks. I agree, so I going to submit my homework > with the "m545 method has 4 characters". > I can fix it later if we learn different. > > On Apr 10, 8:15 am, mbanolas <[email protected]> wrote: > >> In my opinion it is just a mistake. >> >> On 10 abr, 03:17, Al Snow <[email protected]> wrote: >> >> >>> I noted that the 3rd output line "m545 has 4 characters" does not >>> have the word "method" and I can not see why it is different. >>> Am I missing something? >>> >>> Thanks, >>> Al Snow >>> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ruby-on-rails-programming-with-passion" group. To unsubscribe from this group, send email to ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---
