ramda.rb 513 B

1234567891011121314151617181920
  1. module Docs
  2. class Ramda < UrlScraper
  3. self.type = 'ramda'
  4. self.release = '0.23.0'
  5. self.base_url = "http://ramdajs.com/#{release}/docs/"
  6. self.links = {
  7. home: 'http://ramdajs.com/',
  8. code: 'https://github.com/ramda/ramda/'
  9. }
  10. html_filters.push 'ramda/entries', 'ramda/clean_html', 'title'
  11. options[:title] = 'Ramda'
  12. options[:attribution] = <<-HTML
  13. &copy; 2013&ndash;2016 Scott Sauyet and Michael Hurley<br>
  14. Licensed under the MIT License.
  15. HTML
  16. end
  17. end