Class: Rmsgen::FsPolnoteGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/rmsgen/fs_polnote_group.rb

Instance Method Summary collapse

Constructor Details

#initialize(dir = nil) ⇒ FsPolnoteGroup

Returns a new instance of FsPolnoteGroup.



3
4
5
6
# File 'lib/rmsgen/fs_polnote_group.rb', line 3

def initialize(dir=nil)
  @note_bodies = note_bodies_from_directory(dir)
  @notes = build_many_polnotes(@note_bodies)
end

Instance Method Details

#allObject



8
9
10
# File 'lib/rmsgen/fs_polnote_group.rb', line 8

def all
  @notes
end