Sha256: f48fb85f9e0ec1a854bc26a8aaa6ab80d4bbb2d956537e080ed57f0cb309be5d
Contents?: true
Size: 244 Bytes
Versions: 35
Compression:
Stored size: 244 Bytes
Contents
class UploaderGenerator < Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) def create_uploader_file template "uploader.rb", File.join('app/uploaders', class_path, "#{file_name}_uploader.rb") end end
Version data entries
35 entries across 35 versions & 3 rubygems