class Utils::ConfigFile

def edit(&block)

Returns:
  • (Edit) - an Edit object configured either by the block or with default settings

Parameters:
  • block (Proc) -- optional block to configure the Edit object
def edit(&block)
  if block
    @edit = Edit.new(&block)
  end
  @edit ||= Edit.new
end