Class: EhbrsRubyUtils::CookingBook::Build::RecipePage
- Inherits:
-
BasePage
- Object
- SimpleDelegator
- BasePage
- EhbrsRubyUtils::CookingBook::Build::RecipePage
- Defined in:
- lib/ehbrs_ruby_utils/cooking_book/build/recipe_page.rb
Defined Under Namespace
Classes: Part
Instance Attribute Summary
Attributes inherited from BasePage
Instance Method Summary collapse
Methods inherited from BasePage
#build, #erb_result, #href, #initialize, #inner_content, #target_content, #target_path
Constructor Details
This class inherits a constructor from EhbrsRubyUtils::CookingBook::Build::BasePage
Instance Method Details
#parts ⇒ Object
11 12 13 |
# File 'lib/ehbrs_ruby_utils/cooking_book/build/recipe_page.rb', line 11 def parts @parts ||= super.map { |e| Part.new(e) } end |
#target_basename ⇒ Object
7 8 9 |
# File 'lib/ehbrs_ruby_utils/cooking_book/build/recipe_page.rb', line 7 def target_basename title.variableize end |