diff --git a/AutoRest/Generators/Ruby/Ruby/Templates/ServiceClientTemplate.cshtml b/AutoRest/Generators/Ruby/Ruby/Templates/ServiceClientTemplate.cshtml index 1a049baf23..a4f57b3169 100644 --- a/AutoRest/Generators/Ruby/Ruby/Templates/ServiceClientTemplate.cshtml +++ b/AutoRest/Generators/Ruby/Ruby/Templates/ServiceClientTemplate.cshtml @@ -35,7 +35,7 @@ module @Settings.Namespace @foreach (var operation in Model.MethodGroups) { - @:@WrapComment("# ", string.Format("@return {0}", RubyCodeNamer.UnderscoreCase(operation))) + @:@WrapComment("# ", string.Format("@return [{0}] {1}", operation, RubyCodeNamer.UnderscoreCase(operation))) @:attr_reader :@(RubyCodeNamer.UnderscoreCase(operation)) @EmptyLine }