提交 732cfd27 编写于 作者: C Carlos Antonio da Silva

Remove extraneous `begin..end` around single `case` statement

上级 66197a3a
......@@ -51,14 +51,13 @@ def preload
private
def initialize_options
@options ||= begin
@options ||=
case type
when :chrome
::Selenium::WebDriver::Chrome::Options.new
when :firefox
::Selenium::WebDriver::Firefox::Options.new
end
end
end
def set_default_options
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册