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

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

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