method
license=
![Moderate documentation Importance_2](https://d2vfyqvduarcvs.cloudfront.net/images/importance_2.png?1349367920)
v2_1_10 -
Show latest stable
-
0 notes -
Class: Specification
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (38)
- 2_2_9 (15)
- 2_4_6 (0)
- 2_5_5 (-2)
- 2_6_3 (0)
- What's this?
license=(o)
public
:category: Recommended gemspec attributes The license for this gem.
The license must be a short name, no more than 64 characters.
This should just be the name of your license. The full text of the license should be inside of the gem when you build it.
See http://opensource.org/licenses/alphabetical for a list of licenses and their abbreviations (or short names). GitHub also provides a license picker at http://choosealicense.com/
According to copyright law, not having an OSI-approved open source license means you have no rights to use the code for any purpose-- in other words, "all rights reserved".
You can set multiple licenses with #licenses=
Usage:
spec.license = 'MIT'