Method: Glyph::Utils#macro_alias?

Defined in:
lib/glyph/utils.rb

#macro_alias?(name) ⇒ Boolean

Returns true if the macro name is used as an alias

Parameters:

  • the macro name to check

Returns:

Since:

  • 0.4.0



130
131
132
# File 'lib/glyph/utils.rb', line 130

def macro_alias?(name)
  ALIASES[:by_alias].include? name.to_sym
end