跳至内容 跳至搜索
方法
G

实例公共方法

generate_script()

# File railties/lib/rails/generators/rails/script/script_generator.rb, line 8
def generate_script
  template("script.rb.tt", "script/#{file_path}.rb")
end