# See the License for the specific language governing permissions and
# limitations under the License.
+
module Google
- if defined?(ActiveSupport::Inflector)
+ begin
+ require 'active_support/inflector'
INFLECTOR = ActiveSupport::Inflector
- else
+ rescue LoadError
require 'extlib/inflection'
INFLECTOR = Extlib::Inflection
end