class Blender::RSpec::SearchStub
Attributes
opts[R]
return_value[R]
type[R]
Public Class Methods
new(type, opts)
click to toggle source
# File lib/blender/rspec/stub_registry.rb, line 24 def initialize(type, opts) @type = type @opts = opts end
Public Instance Methods
and_return(value)
click to toggle source
# File lib/blender/rspec/stub_registry.rb, line 29 def and_return(value) @return_value = value end