hello why does: puts "Inspect:#{p(myDog)}" give LESS verbose results than: p(myDog) ? thanks -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 5 December 2010 02:41, johny why <johnywhy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hello > > why does: > puts "Inspect:#{p(myDog)}" > > give LESS verbose results than: > > p(myDog) >It doesn''t for me. Can you show an example, what versions are you using? Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 5 December 2010 02:41, johny why <johnywhy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hello > > why does: > puts "Inspect:#{p(myDog)}" > > give LESS verbose results than: > > p(myDog) >It doesn''t; it gives me exactly the same, but with an extra carriage return. What *actual* output do you get? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.