class Berkshelf::BaseFormatter
def cleanup_hook; end
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