jax-core/lib/jax/core/generators/material/material_generator.rb
# tries to find the asset with the given path, returning nil if an error is encountered.
tries to find the asset with the given path, returning nil if an error is encountered.
tries to find the asset with the given path returning nil if an error is encountered .
def try_find_asset(*path)
        ::Rails.application.assets[File.join *path]
      rescue Sprockets::FileOutsidePaths
        return nil
      end
def try_find_asset ( * path ) :: Rails . application . assets [ File . join * path ] rescue Sprockets :: FileOutsidePaths return nil end
tries to find the asset with the given path, returning nil if an error is encountered.
tries to find the asset with the given path returning nil if an error is encountered .
path
<not_specific>