Kent Fredric > ElasticSearchX-Model-Generator > ElasticSearchX::Model::Generator::TypenameTranslator

Download:
ElasticSearchX-Model-Generator-0.1.7.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: v0.1.7   Source   Latest Release: ElasticSearchX-Model-Generator-0.1.8

NAME ^

ElasticSearchX::Model::Generator::TypenameTranslator - Transform upstream type/document names to downstream Package/Class/File names.

VERSION ^

version 0.1.7

METHODS ^

translate_to_path

  my $path = $instance->translate_to_path( 'file' );
  # ->  /my/base/dir/File.pm

translate_to_package

  my $package = $instance->translate_to_package('file');
  # -> MyBaseClass::File

ATTRIBUTES ^

generator_base

  rw, required, weak_ref

PRIVATE METHODS ^

_words

  @words = $instance->_words( $string );

AUTHOR ^

Kent Fredric <kentfredric@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: