Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # populate code snipppets from _factory/lib
- code_snippets = Dir['_factory/lib/**/*.rb'].sort.map do |filename|
- Nanoc::CodeSnippet.new(
- File.read(filename),
- filename
- )
- end
- code_snippets.each { |cs| cs.load }
Advertisement
Add Comment
Please, Sign In to add comment