Class: ODDB::TestLog::StubSmtp

Inherits:
Object
  • Object
show all
Defined in:
test/test_util/zlog.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) sendmail(*args)



34
35
36
# File 'test/test_util/zlog.rb', line 34

def sendmail(*args)
  (@sent ||= []).push(args)
end

- (Object) sent



37
38
39
# File 'test/test_util/zlog.rb', line 37

def sent
  @sent
end