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.
7 8 9 10 11 |
# File 'lib/twterm/repository/hashtag_repository.rb', line 7 def initialize @m = Mutex.new super end |
Instance Method Details
#all ⇒ Object
13 14 15 |
# File 'lib/twterm/repository/hashtag_repository.rb', line 13 def all repository.to_a end |