Sha256: 29dd0f798a70aab49416cef353513ca2b3735a6596120bb45878a5968138b502
Contents?: true
Size: 366 Bytes
Versions: 7
Compression:
Stored size: 366 Bytes
Contents
module Draper module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("templates", __dir__) desc 'Creates an ApplicationDecorator, if none exists.' def create_application_decorator file = 'application_decorator.rb' copy_file file, "app/decorators/#{file}" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems