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
14 15 16 |
# File 'lib/ehbrs_ruby_utils/cooking_book/build/recipe_page.rb', line 14 def parts @parts ||= super.map { |e| Part.new(e) } end |
#target_basename ⇒ Object
10 11 12 |
# File 'lib/ehbrs_ruby_utils/cooking_book/build/recipe_page.rb', line 10 def target_basename title.variableize end |