class EnumStyle::Generators::InstallGenerator
Public Class Methods
source_root()
click to toggle source
# File lib/generators/enum_style/install_generator.rb, line 7 def self.source_root @_config_source_root ||= File.expand_path("../templates", __FILE__) end
Public Instance Methods
generate_style_yml()
click to toggle source
# File lib/generators/enum_style/install_generator.rb, line 11 def generate_style_yml template 'enum_style.yml', 'config/enum_style.yml' end