class TinyMCE::Rails::AssetManifest

def self.load(manifest_path)

def self.load(manifest_path)
  PropshaftManifest.try(manifest_path) ||
    JsonManifest.try(manifest_path, ".sprockets-manifest*.json") ||
    JsonManifest.try(manifest_path, "manifest*.json") ||
    JsonManifest.try(manifest_path) ||
    YamlManifest.try(manifest_path) ||
    NullManifest.new
end

def asset_path(logical_path)

def asset_path(logical_path)
  if digested = assets[logical_path]
    yield digested, logical_path if block_given?
  end
end

def each(pattern)

def each(pattern)
  assets.each_key do |asset|
    if asset =~ pattern && !index_asset?(asset)
      yield asset
    end
  end
end

def index_asset?(asset)

def index_asset?(asset)
  asset =~ /\/index[^\/]*\.\w+$/
end

def to_s

def to_s
  dump
end