lib/nanoc/helpers/text.rb in nanoc-3.6.7 vs lib/nanoc/helpers/text.rb in nanoc-3.6.8

- old
+ new

@@ -16,10 +16,10 @@ # # @option params [String] omission ("...") The string to append to the # excerpt when the excerpt is shorter than the original string # # @return [String] The excerpt of the given string - def excerptize(string, params={}) + def excerptize(string, params = {}) # Initialize params params[:length] ||= 25 params[:omission] ||= '...' # Get excerpt