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.
精彩评论