Clean up
This commit is contained in:
parent
3982810eab
commit
4ff3d63978
@ -2210,20 +2210,15 @@ class Formula
|
||||
# Shows when running `brew info`.
|
||||
# Multiple licenses means that the software is licensed under multiple licenses.
|
||||
# Do not use multiple licenses if e.g. different parts are under different licenses.
|
||||
#
|
||||
# <pre>license "BSD-2-Clause"</pre>
|
||||
def license(args = nil)
|
||||
if args.nil?
|
||||
@licenses
|
||||
else
|
||||
@licenses = Array(args) unless args == ""
|
||||
puts @licenses
|
||||
# license.
|
||||
end
|
||||
end
|
||||
|
||||
# attr_rw :license
|
||||
|
||||
# @!attribute [w] homepage
|
||||
# The homepage for the software. Used by users to get more information
|
||||
# about the software and Homebrew maintainers as a point of contact for
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user