can you see the source code of a method in ruby? if you will tell me about ruby2ruby, please give a valid example...i''ve read about ruby2ruby, but i''m still at WTF level thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mike wrote:> can you see the source code of a method in ruby? > > if you will tell me about ruby2ruby, please give a valid example...i''ve > read about ruby2ruby, but i''m still at WTF level > > thanksNot sure what you mean. You want to see source code for the basic ruby methods? I''m not sure it would help you too much as the built in methods are all implemented in C, and then compiled into the ruby executable. Very few of the standard ruby methods are actually written in ruby. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I want to see let''s say the source of ActionView::Base.field_error_proc, but i don''t want to browser into rails library, and search for that method. I just want to run ruby script/console, load environment, and write there a line to show me tho code Alex Wayne wrote:> Mike wrote: >> can you see the source code of a method in ruby? >> >> if you will tell me about ruby2ruby, please give a valid example...i''ve >> read about ruby2ruby, but i''m still at WTF level >> >> thanks > > Not sure what you mean. You want to see source code for the basic ruby > methods? I''m not sure it would help you too much as the built in > methods are all implemented in C, and then compiled into the ruby > executable. Very few of the standard ruby methods are actually written > in ruby.-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---