Class: Whisper::CommentSet
- Inherits:
-
Object
- Object
- Whisper::CommentSet
- Includes:
- Dependency, Loggy
- Defined in:
- lib/whisper/comment_set.rb
Overview
the set of all entries
Instance Method Summary collapse
- #dependencies ⇒ Object
-
#initialize(dir) ⇒ CommentSet
constructor
A new instance of CommentSet.
- #size ⇒ Object
Methods included from Dependency
#content, #dependency_init, #refresh!, #timestamp
Constructor Details
#initialize(dir) ⇒ CommentSet
Returns a new instance of CommentSet.
12 13 14 15 |
# File 'lib/whisper/comment_set.rb', line 12 def initialize dir @dirset = DirSet.new dir, Comment dependency_init end |
Instance Method Details
#dependencies ⇒ Object
17 |
# File 'lib/whisper/comment_set.rb', line 17 def dependencies; [@dirset] end |
#size ⇒ Object
24 |
# File 'lib/whisper/comment_set.rb', line 24 def size; comments.size end |