Parent

Methods

Class/Module Index [+]

Quicksearch

Mocha::SingleReturnValue

Public Class Methods

new(value) click to toggle source
# File lib/mocha/single_return_value.rb, line 7
def initialize(value)
  @value = value
end

Public Instance Methods

evaluate() click to toggle source
# File lib/mocha/single_return_value.rb, line 11
def evaluate
  @value
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.