Parent

Methods

Class/Module Index [+]

Quicksearch

Nanoc::Configuration

Represents the site configuration.

Public Class Methods

new(hash) click to toggle source

Creates a new configuration with the given hash.

@param [Hash] hash The actual configuration hash

# File lib/nanoc/base/source_data/configuration.rb, line 10
def initialize(hash)
  self.replace(hash)
end

Public Instance Methods

reference() click to toggle source

Returns an object that can be used for uniquely identifying objects.

@return [Object] An unique reference to this object

# File lib/nanoc/base/source_data/configuration.rb, line 17
def reference
  :config
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.