Class: Twterm::Repository::HashtagRepository
- Inherits:
-
AbstractRepository
- Object
- AbstractRepository
- Twterm::Repository::HashtagRepository
- Defined in:
- lib/twterm/repository/hashtag_repository.rb
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize ⇒ HashtagRepository
constructor
A new instance of HashtagRepository.
Methods inherited from AbstractRepository
#after_create, #before_create, #create
Constructor Details
#initialize ⇒ HashtagRepository
Returns a new instance of HashtagRepository.
6 7 8 9 10 |
# File 'lib/twterm/repository/hashtag_repository.rb', line 6 def initialize @m = Mutex.new super end |
Instance Method Details
#all ⇒ Object
12 13 14 |
# File 'lib/twterm/repository/hashtag_repository.rb', line 12 def all repository.to_a end |