开发者

Give copyright in Ruby on Rails files

I want provide to copyright notice at start of files in my Ruby on Rails project. Can I give copyright notice in all Ruby on Rails files including auto generated files like app开发者_C百科lication.rb, routes.rb. ?


I have seen this in some ruby files available online such ashttps://github.com/diaspora/diaspora/blob/develop/app/models/account_deletion.rb

I needed to do the same, but I needed a tool to automate adding it to all .rb files.

I have written the following script for this reason

https://gist.github.com/modsaid/5435473


You would need to review the MIT-license for that: http://www.opensource.org/licenses/mit-license.php

but if my understanding is correct, yes you can put a copyright notice on your files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜