Class: Testy::Test::Context
- Inherits:
-
Object
- Object
- Testy::Test::Context
- Defined in:
- lib/testy.rb
Instance Method Summary collapse
-
#initialize(name = nil, setup = lambda{}, teardown = lambda{}, &block) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(name = nil, setup = lambda{}, teardown = lambda{}, &block) ⇒ Context
Returns a new instance of Context.
70 71 72 |
# File 'lib/testy.rb', line 70 def initialize(name = nil, setup = lambda{}, teardown = lambda{}, &block) @name, @setup, @teardown, @block = name, setup, teardown, block end |