lib/nanoc/base/source_data/configuration.rb in nanoc-3.7.4 vs lib/nanoc/base/source_data/configuration.rb in nanoc-3.7.5
- old
+ new
@@ -1,12 +1,10 @@
# 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)
replace(hash)
@@ -16,9 +14,7 @@
#
# @return [Object] An unique reference to this object
def reference
:config
end
-
end
-
end