File: liblicense.rb

package info (click to toggle)
liblicense 0.8-2.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 6,448 kB
  • ctags: 793
  • sloc: sh: 9,182; ansic: 8,249; makefile: 862; xml: 178; cpp: 111; ruby: 41; python: 39
file content (13 lines) | stat: -rw-r--r-- 205 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'liblicense.so'

class Liblicense

	def to_s
		version = ""
		if self.version then
			version = " " + self.version.join('.')
		end
		self.name + version  + " (" + self.jurisdiction + ")"
	end

end