lib/lotus/utils/kernel.rb in lotus-utils-0.5.2 vs lib/lotus/utils/kernel.rb in lotus-utils-0.6.0
- old
+ new
@@ -976,10 +976,10 @@
end
rescue NoMethodError
raise TypeError.new "can't convert #{inspect_type_error(arg)}into Pathname"
end
- # Coerces the argument to be a String.
+ # Coerces the argument to be a Symbol.
#
# @param arg [#to_sym] the argument
#
# @return [Symbol] the result of the coercion
#