Class: NanoContexts::Context

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

Instance Attribute Summary collapse

Instance Attribute Details

#setupObject

Returns the value of attribute setup

Returns:

  • (Object)

    the current value of setup



4
5
6
# File 'lib/nanocontexts.rb', line 4

def setup
  @setup
end

#teardownObject

Returns the value of attribute teardown

Returns:

  • (Object)

    the current value of teardown



4
5
6
# File 'lib/nanocontexts.rb', line 4

def teardown
  @teardown
end