Class: Deas::TestRunner::HaltArgs
- Inherits:
-
Struct
- Object
- Struct
- Deas::TestRunner::HaltArgs
- Defined in:
- lib/deas/test_runner.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(args) ⇒ HaltArgs
constructor
A new instance of HaltArgs.
Constructor Details
#initialize(args) ⇒ HaltArgs
Returns a new instance of HaltArgs.
87 88 89 90 91 92 93 94 |
# File 'lib/deas/test_runner.rb', line 87 def initialize(args) a = args.dup super(*[ a.first.instance_of?(::Fixnum) ? a.shift : nil, a.first.kind_of?(::Hash) ? a.shift : nil, a.shift ]) end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
86 87 88 |
# File 'lib/deas/test_runner.rb', line 86 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers
86 87 88 |
# File 'lib/deas/test_runner.rb', line 86 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status
86 87 88 |
# File 'lib/deas/test_runner.rb', line 86 def status @status end |