Method: Avm::FileFormats::Base#file_resource_name

Defined in:
lib/avm/file_formats/base.rb

#file_resource_name(path) ⇒ Avm::FileFormats::FileWith

Parameters:

  • path (Pathname)

Returns:

  • (Avm::FileFormats::FileWith)


20
21
22
# File 'lib/avm/file_formats/base.rb', line 20

def file_resource_name(path)
  path.to_pathname.to_path
end