Open
Description
Feature and motivation
We're adding Type hints to Python & looking at TypeScript for JS, the equivalent for Ruby is to add rbs files.
Ruby Selenium does a lot of meta-programming which makes it more difficult to use with an IDE like RubyMine. Adding rbs files, *should make this much easier.
Usage example
I think they'll look like this?
module Selenium
module WebDriver
module Edge
class Options < Selenium::WebDriver::Chrome::Options
KEY:String
BROWSER:String
def enable_logging: (browser_options: Hash) -> Hash
def binary_path: () -> String
end
end
end
end
and then RubyMine and other IDEs will be able to do type hints, etc