From aa023c1e5d23b2a5a66dbe9a36d0e8765a8d8cff Mon Sep 17 00:00:00 2001 From: Ken Barber Date: Fri, 29 Jul 2011 20:56:40 +0100 Subject: Removed date stub since this functinality is available in strftime anyway. --- lib/puppet/parser/functions/date.rb | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 lib/puppet/parser/functions/date.rb (limited to 'lib/puppet/parser') diff --git a/lib/puppet/parser/functions/date.rb b/lib/puppet/parser/functions/date.rb deleted file mode 100644 index 0439bd1..0000000 --- a/lib/puppet/parser/functions/date.rb +++ /dev/null @@ -1,20 +0,0 @@ -# -# date.rb -# - -module Puppet::Parser::Functions - newfunction(:date, :type => :rvalue, :doc => <<-EOS - EOS - ) do |arguments| - - if (arguments.size != 1) then - raise(Puppet::ParseError, "date(): Wrong number of arguments "+ - "given #{arguments.size} for 1") - end - - # TODO: stubbed - - end -end - -# vim: set ts=2 sw=2 et : -- cgit v1.2.3