class Blender::RSpec::StubRegistry

Attributes

data[R]

Public Class Methods

add(type, opts) click to toggle source
# File lib/blender/rspec/stub_registry.rb, line 40
def self.add(type, opts)
  obj = SearchStub.new(type, opts)
  instance.data << obj
  obj
end
new() click to toggle source
# File lib/blender/rspec/stub_registry.rb, line 36
def initialize
  @data = []
end