Method: AutoTypeDoc::MethodInfo#most_frequent_arg_type

Defined in:
lib/auto_type_doc/method_info.rb

#most_frequent_arg_type(arg_name) ⇒ String

Returns:

  • (String)


40
41
42
# File 'lib/auto_type_doc/method_info.rb', line 40

def most_frequent_arg_type(arg_name)
  most_frequent_type(argument(arg_name).types)
end