Class: SeleniumConnect::Server
- Inherits:
-
Object
- Object
- SeleniumConnect::Server
- Defined in:
- lib/selenium-connect/server.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Instance Method Summary collapse
-
#initialize(configuration) ⇒ Server
constructor
A new instance of Server.
- #restart ⇒ Object
- #start ⇒ Object
- #stop ⇒ Object
Constructor Details
#initialize(configuration) ⇒ Server
Returns a new instance of Server.
5 6 7 |
# File 'lib/selenium-connect/server.rb', line 5 def initialize(configuration) @configuration = configuration end |
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
3 4 5 |
# File 'lib/selenium-connect/server.rb', line 3 def configuration @configuration end |
Instance Method Details
#restart ⇒ Object
17 18 19 |
# File 'lib/selenium-connect/server.rb', line 17 def restart rake "restart" end |
#start ⇒ Object
9 10 11 |
# File 'lib/selenium-connect/server.rb', line 9 def start rake "start" end |
#stop ⇒ Object
13 14 15 |
# File 'lib/selenium-connect/server.rb', line 13 def stop rake "stop" end |