Class: ReadingList::TemplateFactory
- Inherits:
-
Object
- Object
- ReadingList::TemplateFactory
- Defined in:
- lib/reading_list/factories/template_factory.rb
Instance Method Summary collapse
Instance Method Details
#load(template) ⇒ Object
3 4 5 |
# File 'lib/reading_list/factories/template_factory.rb', line 3 def load(template) IO.read(File.("../resources/templates/#{template}", __dir__)) end |