Method: TagLib::FileRef#file
- Defined in:
- lib/TagLib_doc.rb
#file ⇒ Object
Returns a pointer to the file represented by this handler class.As a general rule this call should be avoided since if you need to work with file objects directly, you are probably better served instantiating the File subclasses (i.e. MPEG::File) manually and working with their APIs.This handle exists to provide a minimal, generic and value-based wrapper around a File. Accessing the file directly generally indicates a moving away from this simplicity (and into things beyond the scope of FileRef).This pointer will become invalid when this FileRef and all copies pass out of scope.
191 192 |
# File 'lib/TagLib_doc.rb', line 191 def file() end |