Class: EhbrsRubyUtils::CookingBook::Build

Inherits:
Object
  • Object
show all
Defined in:
lib/ehbrs_ruby_utils/cooking_book/build.rb,
lib/ehbrs_ruby_utils/cooking_book/build/base_page.rb,
lib/ehbrs_ruby_utils/cooking_book/build/index_page.rb,
lib/ehbrs_ruby_utils/cooking_book/build/recipe_page.rb

Defined Under Namespace

Classes: BasePage, IndexPage, RecipePage

Instance Method Summary collapse

Instance Method Details

#runObject



18
19
20
21
22
# File 'lib/ehbrs_ruby_utils/cooking_book/build.rb', line 18

def run
  target_dir.clear
  index_page.build
  recipes_pages.each(&:build)
end