Class: ActiveMocker::MockCreator::Scopes::Method

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_mocker/mock_creator/scopes.rb

Instance Attribute Summary collapse

Instance Attribute Details

#argumentsObject

Returns the value of attribute arguments

Returns:

  • (Object)

    the current value of arguments



6
7
8
# File 'lib/active_mocker/mock_creator/scopes.rb', line 6

def arguments
  @arguments
end

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



6
7
8
# File 'lib/active_mocker/mock_creator/scopes.rb', line 6

def body
  @body
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/active_mocker/mock_creator/scopes.rb', line 6

def name
  @name
end