[LRUG] Understanding Ruby Tempfile documentation
graham at effectif.com
Tue Jan 26 04:19:44 PST 2016
On Tue, 26 Jan 2016, at 12:05 PM, Jonathon Horsman wrote:
> Trying to understand Tempfile, so reading the docs:
> I assume it's a subclass of IO, but I can't see any mention of this.
> It does however say:
> what does this mean?
It means `Tempfile` inherits from `DelegateClass(File)`. If you check the docs for `DelegateClass` you’ll see it uses `Tempfile as an example:
More information about the Chat