Sha256: 9fb4291c87b20bb3522fbf3548809c3e1f6f12cc6c559115cc29201415a48282
Contents?: true
Size: 470 Bytes
Versions: 23
Compression:
Stored size: 470 Bytes
Contents
# encoding: utf-8 module Nanoc # Represents the site configuration. class Configuration < ::Hash # Creates a new configuration with the given hash. # # @param [Hash] hash The actual configuration hash def initialize(hash) self.replace(hash) end # Returns an object that can be used for uniquely identifying objects. # # @return [Object] An unique reference to this object def reference :config end end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.3.2 | lib/nanoc/base/source_data/configuration.rb |
nanoc-3.3.1 | lib/nanoc/base/source_data/configuration.rb |
nanoc-3.3.0 | lib/nanoc/base/source_data/configuration.rb |