class Gollum::Macro::Unknown_Macro

The special class we reserve for only the finest of screwups. The underscore is to make sure nobody can define a real, callable macro with the same name, because that would be… exciting.

Public Class Methods

new(macro_name) click to toggle source
# File lib/gollum-lib/macro.rb, line 36
def initialize(macro_name)
  @macro_name = macro_name
end

Public Instance Methods

render(*_args) click to toggle source
# File lib/gollum-lib/macro.rb, line 40
def render(*_args)
  "!!!Unknown macro: #{@macro_name}!!!"
end