dongjie.overflow-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2013-Mar-04 05:54 UTC
Is there a initialize function with 3 parameters???
https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb#L135 Anyone who knows why there is no such initialize function with 3 parameters??? just open this link. ::Range.new(from, to, extracted[:exclude_end]) this function has 3 parameters. but I cant find such initialize function!!! need help!!! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/dRSp6acLWSAJ. For more options, visit https://groups.google.com/groups/opt_out.
Frederick Cheung
2013-Mar-04 08:25 UTC
Re: Is there a initialize function with 3 parameters???
On Monday, March 4, 2013 5:54:22 AM UTC, dongjie....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > Anyone who knows why there is no such initialize function with 3 parameters??? just open this link. > > > ::Range.new(from, to, extracted[:exclude_end]) > > this function has 3 parameters. but I cant find such initialize function!!! >Range docs ( http://ruby-doc.org/core-1.9.3/Range.html#method-c-new ) list 3 parameters. Where''s the confusion? Fred> > need help!!!-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/XwG2GU518cMJ. For more options, visit https://groups.google.com/groups/opt_out.