Class: Nanotest::Contexts::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/nanotest/contexts.rb

Instance Attribute Summary collapse

Instance Attribute Details

#setupObject

Returns the value of attribute setup

Returns:

  • (Object)

    the current value of setup



7
8
9
# File 'lib/nanotest/contexts.rb', line 7

def setup
  @setup
end

#teardownObject

Returns the value of attribute teardown

Returns:

  • (Object)

    the current value of teardown



7
8
9
# File 'lib/nanotest/contexts.rb', line 7

def teardown
  @teardown
end