From: Josh Cheek Date: 2012-05-13T02:19:44+09:00 Subject: Re: I'm looking for a Metaprogramming Project --0016e6de0113f4876d04bfda0e93 Content-Type: text/plain; charset=ISO-8859-1 Create your own version of the Struct class. Here's a spec for you: https://gist.github.com/2641441#file_spec%2Fmy_struct_spec.rb On Fri, May 11, 2012 at 3:02 PM, Phil Stone wrote: > Hello, > I was the person who a while back asked about how metaprogramming in > Ruby works (https://www.ruby-forum.com/topic/4043044). > > I now have to demonstrate my experience in programming, and I think that > doing some Ruby metaprogramming might be sufficient (I finished Why's > Poignant Guide). I now have to find a project that would involve this. > The problem is, I can't think of an actually realistic application of > metaclasses. What should I make to show off metaprogramming? I'm open to > suggestions. Thanks! > > -- > Posted via http://www.ruby-forum.com/. > > --0016e6de0113f4876d04bfda0e93 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Create your own version of the Struct class. Here's a spec for you: http= s://gist.github.com/2641441#file_spec%2Fmy_struct_spec.rb

On Fri, May 11, 2012 at 3:02 PM, Phil Stone <lists@ruby-forum.com= > wrote:
Hello,
I was the person who a while back asked about how metaprogramming in
Ruby works (https://www.ruby-forum.com/topic/4043044).

I now have to demonstrate my experience in programming, and I think that doing some Ruby metaprogramming might be sufficient (I finished Why's Poignant Guide). I now have to find a project that would involve this.
The problem is, I can't think of an actually realistic application of metaclasses. What should I make to show off metaprogramming? I'm open t= o
suggestions. Thanks!

--
Posted via http://= www.ruby-forum.com/.


--0016e6de0113f4876d04bfda0e93--