@@ -65,7 +65,7 @@ public class RubyNameFormatter implements NameFormatter {
 
   @Override
   public String packageFilePathPiece(Name name) {
-    return name.toLowerUnderscore();
+    return name.toOriginal().toLowerCase();
   }
 
   @Override
/* Copyright 2016 Google Inc
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.google.api.codegen.util.ruby;

import com.google.api.codegen.util.Name;
import com.google.api.codegen.util.NameFormatter;
import com.google.api.codegen.util.NamePath;

/**
 * The NameFormatter for Ruby.
 */
public class RubyNameFormatter implements NameFormatter {

  @Override
  public String className(Name name) {
    return name.toUpperCamel();
  }

  @Override
  public String varName(Name name) {
    return name.toLowerUnderscore();
  }

  @Override
  public String varReference(Name name) {
    return "@" + name.toLowerUnderscore();
  }

  @Override
  public String methodName(Name name) {
    return name.toLowerUnderscore();
  }

  @Override
  public String staticFunctionName(Name name) {
    return name.toLowerUnderscore();
  }

  @Override
  public String inittedConstantName(Name name) {
    return name.toUpperCamel();
  }

  @Override
  public String keyName(Name name) {
    return name.toLowerUnderscore();
  }

  @Override
  public String qualifiedName(NamePath namePath) {
    return namePath.withUpperPieces().toDoubleColoned();
  }

  @Override
  public String packageFilePathPiece(Name name) {
    return name.toLowerUnderscore();
  }

  @Override
  public String classFileNameBase(Name name) {
    return name.toLowerUnderscore();
  }
}

Sorry, probably that's because I'm not familiar with this class, what does the `toOriginal` method do?