lib/tapioca/helpers/cli_helper.rb in tapioca-0.6.4 vs lib/tapioca/helpers/cli_helper.rb in tapioca-0.7.0

- old
+ new

@@ -21,7 +21,14 @@ # So we implement our own version here to work around those problems. shell.indent(-shell.padding) do super(message, color) end end + + sig { params(options: T::Hash[Symbol, T.untyped]).returns(RBIFormatter) } + def rbi_formatter(options) + rbi_formatter = DEFAULT_RBI_FORMATTER + rbi_formatter.max_line_length = options[:rbi_max_line_length] + rbi_formatter + end end end