class Gakubuchi::Generators::InstallGenerator
Constants
- DEFAULT_DIRECTORY
Public Instance Methods
copy_initializer_file()
click to toggle source
# File lib/generators/gakubuchi/install/install_generator.rb, line 20 def copy_initializer_file template "gakubuchi.rb.erb", "config/initializers/gakubuchi.rb" end
create_template_directory()
click to toggle source
# File lib/generators/gakubuchi/install/install_generator.rb, line 24 def create_template_directory empty_directory ::Pathname.new("app/assets").join(options.directory) end