CSC/ECE 517 Fall 2007/wiki1b 2 Method Missing

From Expertiza_Wiki
Revision as of 17:18, 1 October 2007 by Vkumar3 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

"There are plenty of examples of method_missing on the Web. Unfortunately, I find most of them rather difficult to understand. One needs to look at quite a bit of source code and figure out what it does. Fix this by giving a plain-English description of several uses of method_missing not covered in our class, with Web links to the pages where you found them."


What is "Method Missing" and what the fuss is all about ???

"Method Missing for Dummies" Example!

-> http://rubylearning.com/satishtalim/ruby_method_missing.html


find Example

@ http://ajax.stealthsettings.com/rubyisms-in-rails/metaprogramming/


Creating Dynamic Methods on the Fly!

-> http://redhanded.hobix.com/inspect/hatchingNewMethodsInMidAir.html


Build your own DSL with Ruby!

-> http://liquiddevelopment.blogspot.com/2006/04/twisting-and-shaping-dsls-using-ruby.html , http://riffraff.blogsome.com/2006/05/02/metaprogramming-breakfast/


"The Good" about Method Missing!

"The Bad" about Method Missing!

"The Ugly" about Method Missing!

References

Other Cool Links to Ruby Lovers!