lib/sign/fetcher.rb in sign-1.0.0 vs lib/sign/fetcher.rb in sign-1.0.1
- old
+ new
@@ -16,10 +16,10 @@
@@list.each do |name, info|
puts format % [name, info]
end
end
- def get(license)
+ def get_license(license)
if @@list.has_key?(license.downcase)
file_name = "#{license}.txt"
File.open("#{license_path}/#{file_name}")
else
raise ArgumentError, "#{license} is not available."
\ No newline at end of file