lib/ronin/license.rb in ronin-0.0.9 vs lib/ronin/license.rb in ronin-0.1.0

- old
+ new

@@ -38,9 +38,13 @@ property :description, Text # URL of the License document property :url, String + # Validations + validates_present :name, :description + validates_is_unique :name + # # Returns the name of the license as a String. # def to_s @name.to_s