class Berkshelf::BaseFormatter

def cleanup_hook; end

The cleanup hook is defined by subclasses and is called by the CLI.
def cleanup_hook; end

def formatter_method(name)


Create a formatter method for the declaration
@method $1(*args)
@macro formatter_method
def formatter_method(name)
  class_eval <<-EOH, __FILE__, __LINE__ + 1
    def #{name}(*args)
      raise AbstractFunction,
        "##{name} must be implemented on \#{self.class.name}!"
    end
  EOH
end