Class: Twterm::Repository::HashtagRepository

Inherits:
AbstractRepository show all
Defined in:
lib/twterm/repository/hashtag_repository.rb

Instance Method Summary collapse

Methods inherited from AbstractRepository

#after_create, #before_create, #create

Constructor Details

#initializeHashtagRepository

Returns a new instance of HashtagRepository.



7
8
9
10
11
# File 'lib/twterm/repository/hashtag_repository.rb', line 7

def initialize
  @m = Mutex.new

  super
end

Instance Method Details

#allObject



13
14
15
# File 'lib/twterm/repository/hashtag_repository.rb', line 13

def all
  repository.to_a
end