On Thursday, December 3, 2020 at 6:32:56 PM UTC-6 Jeremy Evans wrote:

> That's Date#new_offset, not DateTime#new_offset.  See 
> https://github.com/ruby/ruby/blob/ruby_2_0_0/ext/date/date_core.c#L9629
>

Ah, OK.  I didn't know what f_public meant; I thought maybe f stood for 
field and it was making a field public or something.  I didn't look long.  
So, it's a public method, but it doesn't show up in the docs.  I guess, 
then, it's a bug in how the docs are generated where if the method is 
private higher up the inheritance tree (i.e., Date) but then made public in 
a subclass (i.e., DateTime), the docs still won't include it.  Thanks for 
the explanation!

Lewis

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/5fff5d2b-5684-41cd-90fa-1834d27abe5dn%40googlegroups.com.

Reply via email to