lib/puppet/parameter/value.rb in puppet-3.2.4 vs lib/puppet/parameter/value.rb in puppet-3.3.0.rc2
- old
+ new
@@ -32,10 +32,10 @@
@event = convert(value)
end
# Initializes the instance with a literal accepted value, or a regular expression.
# If anything else is passed, it is turned into a String, and then made into a Symbol.
- # @param [Symbol, Regexp, Object] the value to accept, Symbol, a regular expression, or object to convert.
+ # @param name [Symbol, Regexp, Object] the value to accept, Symbol, a regular expression, or object to convert.
# @api private
#
def initialize(name)
if name.is_a?(Regexp)
@name = name