module Kernel

Public Instance Methods

Icon(arg) click to toggle source
# File lib/alphred/item.rb, line 46
def Icon(arg)
  case arg
  when Alphred::Icon then arg
  when String        then Alphred::Icon.new(path: arg)
  when Hash          then Alphred::Icon.new(**arg)
  end
end