class YARD::CodeObjects::MacroObject

def find(macro_name)

Returns:
  • (nil) - if there is no registered macro by that name
  • (MacroObject) - if a macro is found

Parameters:
  • macro_name (#to_s) -- the name of the macro
def find(macro_name)
  Registry.at('.macro.' + macro_name.to_s)
end