Method: Bogus::StubsConfiguration#add_stub

Defined in:
lib/bogus/fake_configuration.rb

#add_stub(name, value = nil, &block) ⇒ Object



61
62
63
# File 'lib/bogus/fake_configuration.rb', line 61

def add_stub(name, value = nil, &block)
  stubs[name] = block || value
end