Class: RackCheck::Spec::Context
- Inherits:
-
Object
- Object
- RackCheck::Spec::Context
- Defined in:
- lib/rack_check/spec.rb
Instance Attribute Summary collapse
-
#app_server_command ⇒ Object
readonly
Returns the value of attribute app_server_command.
-
#app_server_port ⇒ Object
readonly
Returns the value of attribute app_server_port.
-
#startup_timeout ⇒ Object
readonly
Returns the value of attribute startup_timeout.
Instance Method Summary collapse
-
#initialize(app_server_command, app_server_port, startup_timeout) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(app_server_command, app_server_port, startup_timeout) ⇒ Context
Returns a new instance of Context.
7 8 9 10 11 |
# File 'lib/rack_check/spec.rb', line 7 def initialize(app_server_command, app_server_port, startup_timeout) @app_server_port = app_server_port @app_server_command = app_server_command @startup_timeout = startup_timeout end |
Instance Attribute Details
#app_server_command ⇒ Object (readonly)
Returns the value of attribute app_server_command.
5 6 7 |
# File 'lib/rack_check/spec.rb', line 5 def app_server_command @app_server_command end |
#app_server_port ⇒ Object (readonly)
Returns the value of attribute app_server_port.
5 6 7 |
# File 'lib/rack_check/spec.rb', line 5 def app_server_port @app_server_port end |
#startup_timeout ⇒ Object (readonly)
Returns the value of attribute startup_timeout.
5 6 7 |
# File 'lib/rack_check/spec.rb', line 5 def startup_timeout @startup_timeout end |