lib/esgob/config.rb
# Calls block once for each configuration key value pair,
# passing the key and value as parameters.
Calls block once for each configuration key value pair,
passing the key and value as parameters.
Calls block once for each configuration key value pair passing the key and value as parameters .
def each_pair
    instance_variables.sort.each do |var|
      next if var.to_s == '@filepath'
      yield(var.to_s.sub(/^@/,''), instance_variable_get(var))
    end
  end
def each_pair instance_variables . sort . each do | var | next if var . to_s == '@filepath' yield ( var . to_s . sub ( / ^@ / , '' ) , instance_variable_get ( var ) ) end end
Calls block once for each configuration key value pair,
passing the key and value as parameters.
Calls block once for each configuration key value pair passing the key and value as parameters .