Class: EhbrsRubyUtils::CookingBook::Build::IndexPage

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

Constant Summary collapse

TITLE =
'InĂ­cio'

Instance Attribute Summary

Attributes inherited from BasePage

#parent

Instance Method Summary collapse

Methods inherited from BasePage

#build, #erb_result, #href, #inner_content, #target_content, #target_path

Constructor Details

#initialize(parent) ⇒ IndexPage

Returns a new instance of IndexPage.



12
13
14
# File 'lib/ehbrs_ruby_utils/cooking_book/build/index_page.rb', line 12

def initialize(parent)
  super(parent, nil)
end

Instance Method Details

#target_basenameObject



16
17
18
# File 'lib/ehbrs_ruby_utils/cooking_book/build/index_page.rb', line 16

def target_basename
  'index'
end

#titleObject



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

def title
  TITLE
end