module ClassNotes

Constants

Version

Public Class Methods

jot(klass) click to toggle source

@brief wrap a class in notes @param klass the class @return a wrapped class

# File lib/class_notes.rb, line 17
def self.jot(klass)
  ClassNotes::Notebook.wrap_class(klass)
end
note_taker(parent) click to toggle source

@brief create a new note taker Proc on parent @param parent the parent note @return a new Proc that can add notes to the parent

# File lib/class_notes.rb, line 10
def self.note_taker(parent)
  ->(note){ parent << note }
end