Hi,
There is to do in order to execute a my own class with script/generate?
I have created a class to generate a css files in the directory plugins
#vendor/plugins/css_generator
class CssGenerator < Rails::Generator::Based
def manifest
record do |m|
m.directory "public/stylesheet/top"
m.file "mytemplates/top.css", "public/stylesheet/top/top.css"
.....
.....
end
end
end
that I must modify in my application to be able to use my class CssGenerator with script/generate CssGenerator ???
excuse to my bad english and thanks for the help.
a greeting