Method: CSL::Info#default_license!
- Defined in:
- lib/csl/info.rb
#default_license! ⇒ Object
163 164 165 166 167 168 169 170 171 172 |
# File 'lib/csl/info.rb', line 163 def default_license! if has_rights? rights[:license] = Schema.default_license rights.text = Schema.default_rights_string else add_child Rights.new(:license => Schema.default_license) { |r| r.text = Schema.default_rights_string } end end |