Skip to content

Commit

Permalink
Tty methods are class methods
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed Mar 29, 2024
1 parent 18ebdd8 commit 5c382bb
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 39 deletions.
78 changes: 40 additions & 38 deletions Library/Homebrew/sorbet/rbi/dsl/tty.rbi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Library/Homebrew/sorbet/tapioca/compilers/tty.rb
Expand Up @@ -27,7 +27,7 @@ def decorate

methods.each do |method|
return_type = (method.to_s.end_with?("?") ? "T::Boolean" : "String")
mod.create_method(method.to_s, return_type:)
mod.create_method(method.to_s, return_type:, class_method: true)
end
end
end
Expand Down

0 comments on commit 5c382bb

Please sign in to comment.