Method: WB::Config#notes
- Defined in:
- lib/wb/config.rb
#notes ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/wb/config.rb', line 16 def notes local_notes = Dir[File.join(WB.config.project_root, "*")] global_notes = [WB.config.personal_workbook, WB.config.work_workbook] [*local_notes, *global_notes].each_with_index.map do |note, index| WB::Note.new(note, index) end end |