lib/syntax_file/maker.rb
def labelable_values (var)
    # For non-string variables, only values that look
    # like integers can be labeled.
    return var.values if var.is_string_var
    var.values.find_all { |val| val.value.to_s =~ /^\-?\d+$/ }
end
def labelable_values (var)
    # For non-string variables, only values that look
    # like integers can be labeled.
    return var.values if var.is_string_var
    var.values.find_all { |val| val.value.to_s =~ /^\-?\d+$/ }
end
def labelable_values ( var ) # For non-string variables, only values that look # like integers can be labeled. return var . values if var . is_string_var var . values . find_all { | val | val . value . to_s =~ / \- \d / } end
Helper methods for values and their labels.
Helper methods for values and their labels .