[LRUG] Understanding Ruby Tempfile documentation

carlos djmutiny at gmail.com
Tue Jan 26 04:11:38 PST 2016


Any method calls that aren't explicitly defined in Tempfile will be
delegated to File.

2016-01-26 23:05 GMT+11:00 Jonathon Horsman <jonathon at arctickiwi.com>:

> Hi
>
> Trying to understand Tempfile, so reading the docs:
>
> http://docs.ruby-lang.org/en/2.2.0/Tempfile.html
>
> I assume it's a subclass of IO, but I can't see any mention of this.
>
> It does however say:
>
> *Parent:*
> *DelegateClass(File)*
>
> what does this mean?
>
> Thanks in advance
>
> Jonno
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20160126/43659800/attachment-0002.html>


More information about the Chat mailing list