lib/rubikon/has_arguments.rb in rubikon-0.4.1 vs lib/rubikon/has_arguments.rb in rubikon-0.5.0
- old
+ new
@@ -76,9 +76,11 @@
def [](arg)
arg = @arg_names.index(arg) if arg.is_a? Symbol
@args[arg]
end
+ protected
+
# Adds an argument to this parameter. Arguments can be accessed inside the
# application code using the args method.
#
# @param [String] arg The argument to add to the supplied arguments of this
# parameter