method
default
v5.0.0.1 -
Show latest stable
- Class:
ActiveSupport::HashWithIndifferentAccess
default(*args)public
No documentation available.
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 71
def default(*args)
arg_key = args.first
if include?(key = convert_key(arg_key))
self[key]
else
super
end
end