Class/Module Index [+]

Quicksearch

Webgen::WebsiteAccess

Should be mixed into modules/classes that need access to the current website object.

Public Class Methods

website() click to toggle source

Return the current website object or nil.

# File lib/webgen/websiteaccess.rb, line 23
def website
  Thread.current[:webgen_website]
end

Public Instance Methods

website() click to toggle source

Return the current website object or nil.

# File lib/webgen/websiteaccess.rb, line 23
def website
  Thread.current[:webgen_website]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.