Sha256: 351f9de372deb7a3c81be0bb274a517c82dc1272d4ad28523a8a987caeed995e
Contents?: true
Size: 569 Bytes
Versions: 15
Compression:
Stored size: 569 Bytes
Contents
# frozen_string_literal: true module Stenotype # # A module enclosing Rails generators for gem setup # module Generators # # A class for generating a Rails initializer to setup the gem # upon rails application load. # class InitializerGenerator < Rails::Generators::Base source_root File.expand_path("templates", __dir__) # # Creates an initializer for rails application # def create_initializer template "initializer.rb.erb", File.join("config/initializers/stenotype.rb") end end end end
Version data entries
15 entries across 15 versions & 1 rubygems