Class: Mana::Mock::Stub

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

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



15
16
17
# File 'lib/mana/mock.rb', line 15

def block
  @block
end

#patternObject

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



15
16
17
# File 'lib/mana/mock.rb', line 15

def pattern
  @pattern
end

#valuesObject

Returns the value of attribute values

Returns:

  • (Object)

    the current value of values



15
16
17
# File 'lib/mana/mock.rb', line 15

def values
  @values
end