lib/nanoc/helpers/blogging.rb in nanoc-4.1.0 vs lib/nanoc/helpers/blogging.rb in nanoc-4.1.1
- old
+ new
@@ -379,10 +379,10 @@
# Converts the given attribute (which can be a string, a Time, a Date or a
# DateTime) into a Time. When given a Date instance or a string, the
# argument is assumed to be in the local timezone.
#
- # @param [String, Time, Date, DateTime] time Something that contains time
+ # @param [String, Time, Date, DateTime] arg Something that contains time
# information but is not necessarily a Time instance yet
#
# @return [Time] The Time instance corresponding to the given input
def attribute_to_time(arg)
case arg