Sha256: e5225cea9ae888525c884db2e9d6000aa0a820947384339750570324467446d9
Contents?: true
Size: 458 Bytes
Versions: 1
Compression:
Stored size: 458 Bytes
Contents
require "rails/generators" module Eddy module Generators # Generate an initializer file for Eddy. class InitializersGenerator < Rails::Generators::Base desc "This generator creates an initializer file at config/initializers/eddy.rb for Eddy" source_root File.expand_path("templates", __dir__) # @return [void] def copy_initializer template "eddy.rb.erb", "config/initializers/eddy.rb" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eddy-0.3.0 | lib/generators/eddy/initializer/initializer_generator.rb |