lib/henshin/post.rb in henshin-0.1.3 vs lib/henshin/post.rb in henshin-0.2.0

- old
+ new

@@ -82,11 +82,11 @@ override = YAML.load_file(@path).to_options self.override(override) @content = file[$1.size..-1] else @content = file - end + end end # Uses the loaded data to override settings # # @param [Hash] override data to override settings with @@ -100,10 +100,10 @@ @extension = override[:extension] if override[:extension] @category = override[:category] if override[:category] if override[:tags] @tags << override[:tags].split(', ') - @tags.flatten! + @tags.flatten!.uniq! end end # Creates the data to be sent to the layout engine \ No newline at end of file