Class: MicroApi::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/micro_api/install/install_generator.rb

Overview

main generator installer

Instance Method Summary collapse

Instance Method Details

#mainObject



9
10
11
12
13
14
# File 'lib/generators/micro_api/install/install_generator.rb', line 9

def main
  method_name = "generate_micro_api_#{component}"
  return unless self.class.private_method_defined?(method_name)

  send(method_name)
end