Class: Taza::Site::PageLoader
Instance Attribute Summary collapse
-
#page_methods ⇒ Object
readonly
Returns the value of attribute page_methods.
-
#page_names ⇒ Object
readonly
Returns the value of attribute page_names.
Instance Method Summary collapse
-
#initialize(site_module, pages_path) ⇒ PageLoader
constructor
A new instance of PageLoader.
Constructor Details
#initialize(site_module, pages_path) ⇒ PageLoader
Returns a new instance of PageLoader.
205 206 207 208 209 210 211 |
# File 'lib/taza/site.rb', line 205 def initialize site_module, pages_path @site_module = site_module @pages_path = pages_path @page_methods = Module.new @page_names = [] define_site_pages end |
Instance Attribute Details
#page_methods ⇒ Object (readonly)
Returns the value of attribute page_methods.
204 205 206 |
# File 'lib/taza/site.rb', line 204 def page_methods @page_methods end |
#page_names ⇒ Object (readonly)
Returns the value of attribute page_names.
204 205 206 |
# File 'lib/taza/site.rb', line 204 def page_names @page_names end |