class Playbook::PbIcon::Icon
def file_exists?(alias_name)
def file_exists?(alias_name) base_path = Rails.application.config.icon_path File.exist?(Dir.glob(Rails.root.join(base_path, "**", "#{alias_name}.svg")).first) end
def file_exists?(alias_name) base_path = Rails.application.config.icon_path File.exist?(Dir.glob(Rails.root.join(base_path, "**", "#{alias_name}.svg")).first) end