Class: Pennyworth::Loaders::Rodauth
- Inherits:
-
Object
- Object
- Pennyworth::Loaders::Rodauth
- Defined in:
- lib/pennyworth/loaders/rodauth.rb
Overview
Loads Rodauth documentation by scraping the web page.
Instance Method Summary collapse
- #call(uri) ⇒ Object
-
#initialize(model: Models::Rodauth) ⇒ Rodauth
constructor
A new instance of Rodauth.
Constructor Details
Instance Method Details
#call(uri) ⇒ Object
21 22 23 |
# File 'lib/pennyworth/loaders/rodauth.rb', line 21 def call uri read(uri).each.with_object([]) { |item, entries| entries.append record_for(item) } end |