Class: Ehbrs::CookingBook::Build
- Defined in:
- lib/ehbrs/cooking_book/build.rb,
lib/ehbrs/cooking_book/build/base_page.rb,
lib/ehbrs/cooking_book/build/index_page.rb,
lib/ehbrs/cooking_book/build/recipe_page.rb
Defined Under Namespace
Classes: BasePage, IndexPage, RecipePage
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
18 19 20 21 22 |
# File 'lib/ehbrs/cooking_book/build.rb', line 18 def run target_dir.clear index_page.build recipes_pages.each(&:build) end |