blob: da68f30234ea316c138104dc54f84d730ee413ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# coding: utf-8
require 'config'
class License
def initialize(name)
@name = name
end
def name
@name
end
def url
Config::get.license_uri(@name)
end
def html
"<a href=\"#{url}\">#{name}</a>"
end
end
|