class Faker::Travel::TrainStation
def validate_arguments(argument, correct_values, argument_name)
def validate_arguments(argument, correct_values, argument_name) return if correct_values.include?(argument) raise ArgumentError, "'#{argument}' not found, #{argument_name} can be blank, or one of the following, as strings: #{correct_values.join(', ')}" end