class Playbook::PbIcon::Icon
def resolve_alias(icon)
def resolve_alias(icon) return icon unless icon_alias_map aliases = icon_alias_map[icon] return icon unless aliases if aliases.is_a?(Array) aliases.find { |alias_name| file_exists?(alias_name) } || icon else aliases end end