Class: RspecInContext::Context

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

Overview

Context struct

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



9
10
11
# File 'lib/rspec_in_context/in_context.rb', line 9

def block
  @block
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/rspec_in_context/in_context.rb', line 9

def name
  @name
end

#namespaceObject

Returns the value of attribute namespace

Returns:

  • (Object)

    the current value of namespace



9
10
11
# File 'lib/rspec_in_context/in_context.rb', line 9

def namespace
  @namespace
end

#ownerObject

Returns the value of attribute owner

Returns:

  • (Object)

    the current value of owner



9
10
11
# File 'lib/rspec_in_context/in_context.rb', line 9

def owner
  @owner
end