Methods
Instance Public methods
generate_script()
📝 Source code
# File railties/lib/rails/generators/rails/script/script_generator.rb, line 8
def generate_script
template("script.rb.tt", "script/#{file_path}.rb")
end
🔎 See on GitHub