class FeedTheZettelkasten::Notes

Attributes

notes[R]

Public Class Methods

new(notes) click to toggle source
# File lib/feed_the_zettelkasten/notes.rb, line 7
def initialize(notes)
  @notes = notes
end

Public Instance Methods

each() { |note| ... } click to toggle source
# File lib/feed_the_zettelkasten/notes.rb, line 15
def each
  notes.each { |note| yield note }
end
hit_target?(target) click to toggle source
# File lib/feed_the_zettelkasten/notes.rb, line 11
def hit_target?(target)
  to_a.size >= target
end