Module Webby::Resources
In: lib/webby/resources/resource.rb
lib/webby/resources/meta_file.rb
lib/webby/resources/page.rb
lib/webby/resources/partial.rb
lib/webby/resources/db.rb
lib/webby/resources/layout.rb
lib/webby/resources/static.rb
lib/webby/resources.rb

Methods

basename   clear   dirname   extname   find_layout   layouts   new   pages   partials   path  

Classes and Modules

Class Webby::Resources::DB
Class Webby::Resources::Layout
Class Webby::Resources::MetaFile
Class Webby::Resources::Page
Class Webby::Resources::Partial
Class Webby::Resources::Resource
Class Webby::Resources::Static

Public Class methods

Returns the last component of the filename with any extension information removed.

Clear the contents of the layouts, pages and partials hash objects.

Returns the directory component of the filename with the content directory removed from the beginning if it is present.

Returns the extension (the portion of file name in path after the period). This method excludes the period from the extension name.

Returns the layout resource corresponding to the given filename or nil if no layout exists under that filename.

Returns the layouts hash object.

Returns the pages hash object.

Returns the partials hash object.

Returns a normalized path for the given filename.

[Validate]