lib/cldr/export/data/variables.rb
def variables
          doc.xpath("//validity/variable").each_with_object({}) do |variable, ret|
            name = variable.attribute("id").value
            if VARIABLE_IDS.include?(name)
              ret[fix_var_name(name)] = split_value_list(variable.text)
            end
          end
        end
# only these variables will be exported
only these variables will be exported
only these variables will be exported
def variables
          doc.xpath("//validity/variable").each_with_object({}) do |variable, ret|
            name = variable.attribute("id").value
            if VARIABLE_IDS.include?(name)
              ret[fix_var_name(name)] = split_value_list(variable.text)
            end
          end
        end
def variables doc . xpath ( "//validity/variable" ) . each_with_object ( { } ) do | variable , ret | name = variable . attribute ( "id" ) . value if VARIABLE_IDS . include? ( name ) ret [ fix_var_name ( name ) ] = split_value_list ( variable . text ) end end end
only these variables will be exported
only these variables will be exported