Module: ElasticGraph::SchemaArtifacts::RuntimeMetadata::SchemaElementNamesDefinition::CamelCaseConverter
- Extended by:
- CamelCaseConverter
- Included in:
- CamelCaseConverter
- Defined in:
- lib/elastic_graph/schema_artifacts/runtime_metadata/schema_element_names.rb
Instance Method Summary collapse
Instance Method Details
#normalize_case(name) ⇒ Object
121 122 123 |
# File 'lib/elastic_graph/schema_artifacts/runtime_metadata/schema_element_names.rb', line 121 def normalize_case(name) name.gsub(/_(\w)/) { $1.upcase } end |