Class: MessageStore

Inherits:
Object
  • Object
show all
Defined in:
lib/carnivore/spec_helper.rb

Overview

Dummy message store used for testing

Class Method Summary (collapse)

Class Method Details

+ (Array) init

Initialize message storage

Returns:

  • (Array)


47
48
49
# File 'lib/carnivore/spec_helper.rb', line 47

def init
  @messages = []
end

+ (Array) messages

Returns messages

Returns:

  • (Array)

    messages



52
53
54
# File 'lib/carnivore/spec_helper.rb', line 52

def messages
  @messages
end