Module: Gapic::Generator

Defined in:
lib/gapic/generator.rb,
lib/gapic/generator/version.rb

Overview

TODO: Enter docs Dooooooooocs!!!

Constant Summary collapse

VERSION =
"0.47.1"

Class Method Summary collapse

Class Method Details

.find(type = nil) ⇒ Object



23
24
25
26
27
28
# File 'lib/gapic/generator.rb', line 23

def self.find type = nil
  type ||= "default"
  type_const = ActiveSupport::Inflector.camelize type
  require "gapic/generators/#{type}_generator"
  Kernel.const_get "Gapic::Generators::#{type_const}Generator"
end